[arch-commits] Commit in minisign/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 6 13:44:27 UTC 2017
Date: Friday, October 6, 2017 @ 13:44:25
Author: felixonmars
Revision: 261920
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
minisign/repos/community-staging-i686/
minisign/repos/community-staging-i686/PKGBUILD
(from rev 261919, minisign/trunk/PKGBUILD)
minisign/repos/community-staging-x86_64/
minisign/repos/community-staging-x86_64/PKGBUILD
(from rev 261919, minisign/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: minisign/repos/community-staging-i686/PKGBUILD (from rev 261919, minisign/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-10-06 13:44:25 UTC (rev 261920)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=minisign
+pkgver=0.7
+pkgrel=2
+pkgdesc="A dead simple tool to sign files and verify digital signatures."
+arch=('i686' 'x86_64')
+url="https://github.com/jedisct1/minisign"
+license=('custom:ISC')
+depends=('libsodium')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jedisct1/minisign/archive/$pkgver.tar.gz")
+sha512sums=('d23bab6d9c37132ccbc70209667e327704d24755d546504dc08c57b07177aeb8317ea8e1c54da5608d6f283cd7624228f9e932134f06a530ecb5eaf91390b7cc')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake ../minisign-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ make -C build DESTDIR="$pkgdir" install
+
+ install -Dm644 minisign-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: minisign/repos/community-staging-x86_64/PKGBUILD (from rev 261919, minisign/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-10-06 13:44:25 UTC (rev 261920)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=minisign
+pkgver=0.7
+pkgrel=2
+pkgdesc="A dead simple tool to sign files and verify digital signatures."
+arch=('i686' 'x86_64')
+url="https://github.com/jedisct1/minisign"
+license=('custom:ISC')
+depends=('libsodium')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jedisct1/minisign/archive/$pkgver.tar.gz")
+sha512sums=('d23bab6d9c37132ccbc70209667e327704d24755d546504dc08c57b07177aeb8317ea8e1c54da5608d6f283cd7624228f9e932134f06a530ecb5eaf91390b7cc')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake ../minisign-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ make -C build DESTDIR="$pkgdir" install
+
+ install -Dm644 minisign-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list