mirror of
https://github.com/archlinux/aur.git
synced 2026-02-12 11:03:36 +01:00
Initial commit (v0.5.0)
This commit is contained in:
commit
a7638715e2
2 changed files with 46 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pkgbase = pajlada-settings
|
||||
pkgdesc = C++ Settings library
|
||||
pkgver = 0.5.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/pajlada/settings
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
makedepends = gtest
|
||||
makedepends = rapidjson
|
||||
makedepends = pajlada-serialize
|
||||
makedepends = pajlada-signals
|
||||
source = git+https://github.com/pajlada/settings.git#tag=v0.5.0
|
||||
sha256sums = 4ce5aadc3990c4fadec519d4ce9dc8ccf4c73e5dbbb9b135949c0ea6fb0c9c5e
|
||||
|
||||
pkgname = pajlada-settings
|
||||
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
|
||||
|
||||
pkgname=pajlada-settings
|
||||
pkgver=0.5.0
|
||||
pkgrel=1
|
||||
pkgdesc='C++ Settings library'
|
||||
arch=('any')
|
||||
url=https://github.com/pajlada/settings
|
||||
license=('MIT')
|
||||
makedepends=('git' 'cmake' 'gtest' 'rapidjson' 'pajlada-serialize' 'pajlada-signals')
|
||||
source=("git+https://github.com/pajlada/settings.git#tag=v${pkgver}")
|
||||
sha256sums=('4ce5aadc3990c4fadec519d4ce9dc8ccf4c73e5dbbb9b135949c0ea6fb0c9c5e')
|
||||
|
||||
build() {
|
||||
cmake -S settings \
|
||||
-B build \
|
||||
--fresh \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="${pkgdir}" cmake --install build
|
||||
install -Dm644 settings/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue