aboutsummaryrefslogtreecommitdiffstats
path: root/community/signify
diff options
context:
space:
mode:
Diffstat (limited to 'community/signify')
-rw-r--r--community/signify/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/signify/APKBUILD b/community/signify/APKBUILD
new file mode 100644
index 0000000000..fd8ed7b468
--- /dev/null
+++ b/community/signify/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=signify
+pkgver=30
+pkgrel=0
+pkgdesc="OpenBSD tool to sign and verify signatures on files"
+url="https://github.com/aperezdc/signify"
+arch="all"
+license="ISC"
+makedepends="libbsd-dev"
+checkdepends="coreutils"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/aperezdc/signify/archive/v$pkgver.tar.gz"
+
+build() {
+ make EXTRA_CFLAGS="$CFLAGS" EXTRA_LDFLAGS="$LDFLAGS" LTO=1
+}
+
+check() {
+ make check
+}
+
+package() {
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+sha512sums="4a1ebcdbf7aa74865b97cadbf5380460702306b6d0a77306e6c943bb0c3419ca929ecd3455522da4448d780a56c8eddeb26fb4d7fb006fc3bf23f69693c39e87 signify-30.tar.gz"