mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 14:34:42 +01:00
Initial commit (v0.1.1)
This commit is contained in:
commit
fe7be1f6de
2 changed files with 43 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pkgbase = pajlada-signals
|
||||
pkgdesc = simple C++ signal library
|
||||
pkgver = 0.1.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/pajlada/signals
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
makedepends = gtest
|
||||
source = git+https://github.com/pajlada/signals.git#tag=v0.1.1
|
||||
sha256sums = 2b22dbc39f5b0946da63663afbfc93f60fbcc7a54e5f3078850e12127e1bcffc
|
||||
|
||||
pkgname = pajlada-signals
|
||||
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
|
||||
|
||||
pkgname=pajlada-signals
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc='simple C++ signal library'
|
||||
arch=('any')
|
||||
url=https://github.com/pajlada/signals
|
||||
license=('MIT')
|
||||
makedepends=('git' 'cmake' 'gtest')
|
||||
source=("git+https://github.com/pajlada/signals.git#tag=v${pkgver}")
|
||||
sha256sums=('2b22dbc39f5b0946da63663afbfc93f60fbcc7a54e5f3078850e12127e1bcffc')
|
||||
|
||||
build() {
|
||||
cmake -S signals \
|
||||
-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 signals/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue