diff --git a/user/qubes-gpg-split/APKBUILD b/user/qubes-gpg-split/APKBUILD new file mode 100644 index 0000000..a0ec9f2 --- /dev/null +++ b/user/qubes-gpg-split/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=qubes-gpg-split +subpackages="$pkgname-doc" +pkgver=2.0.64 +_gittag="v$pkgver" +pkgrel=0 +pkgdesc="Used Qubes AppVM as a “smart card”" +arch="x86_64" +url="https://github.com/QubesOS/qubes-app-linux-split-gpg" +license='GPL' +depends=" + gnupg + zenity + " +makedepends=" + gcc + make + pandoc + pkgconf + " +source="$pkgname-$_gittag.tar.gz::https://github.com/QubesOS/qubes-app-linux-split-gpg/archive/refs/tags/$_gittag.tar.gz" +builddir="$srcdir"/qubes-app-linux-split-gpg-${_gittag/v} + +build() { + cd "src/" + make +} + +package() { + make install-vm DESTDIR="$pkgdir" + + # Alpine packaging guidelines: /var/run is a symlink to a tmpfs. Don't create it. + rm -r "$pkgdir/var/run" +} +sha512sums=" +8701ce5b5fe213e1f6294c4d67eb1a4afcb23b14c11af127d4a44108275287733bdc4e8ab0d0ed8882aeaee9391c68ba40bcb6448e325a25d25823e893b5d96a qubes-gpg-split-v2.0.64.tar.gz +"