summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-09-08 22:19:30 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-09-08 22:20:56 -0400
commit3fc1edec0a17be1bbf73c2fe2a8d2f033f4c93af (patch)
tree420563537833532d7afbb6079d7cab19791c23b8 /libre
parent6a59ded7ad8dafddbe15bd897a7cbc35355c7817 (diff)
downloadabslibre-3fc1edec0a17be1bbf73c2fe2a8d2f033f4c93af.tar.gz
abslibre-3fc1edec0a17be1bbf73c2fe2a8d2f033f4c93af.tar.bz2
abslibre-3fc1edec0a17be1bbf73c2fe2a8d2f033f4c93af.zip
libre/parabola-hackers: update
Diffstat (limited to 'libre')
-rw-r--r--libre/parabola-hackers/PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/libre/parabola-hackers/PKGBUILD b/libre/parabola-hackers/PKGBUILD
index 5ac0b067e..be1c9d6f3 100644
--- a/libre/parabola-hackers/PKGBUILD
+++ b/libre/parabola-hackers/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=parabola-hackers
pkgname=(parabola-hackers parabola-hackers-nshd)
-pkgver=20170421.1
+pkgver=20170908
pkgdesc='Programs for doing magic with hackers.git'
url='https://git.parabola.nu/packages/parabola-hackers.git/'
license=('GPL')
@@ -11,7 +11,7 @@ pkgrel=1
arch=('x86_64' 'i686')
makedepends=('go')
source=("https://repo.parabola.nu/other/$pkgbase/$pkgbase-$pkgver.tar.gz"{,.sig})
-sha256sums=('06fb7f7c099b82935bf7d4ee2700e1aa104f925cf1ff75b1cc7eb20ec53ca562'
+sha256sums=('3d074623fd570d0ee5cbe3662b9eb9d2095211314b5bc097a4d6855f0cddfa80'
'SKIP')
validpgpkeys=('99195DD3BB6FE10A2F36ED8445698744D4FFBFC9') # Luke Shumaker
@@ -28,6 +28,11 @@ build() {
make
}
+check() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ make check
+}
+
package_parabola-hackers() {
backup=(etc/$pkgbase.yml)
depends=('ruby' 'colordiff')
@@ -40,6 +45,7 @@ package_parabola-hackers() {
package_parabola-hackers-nshd() {
pkgdesc='NSS and PAM integration for parabola-hackers'
+ license=('GPL3')
depends=("parabola-hackers=$pkgver" 'nss-pam-ldapd')
backup=(etc/nshd/shadow)
install=parabola-hackers-nshd.install
@@ -50,4 +56,7 @@ package_parabola-hackers-nshd() {
make DESTDIR="${pkgdir}" install
find "$pkgdir" -type f -not \( -name 'nshd*' -o -name shadow \) -delete
find "$pkgdir" -type d -empty -exec rmdir -p --ignore-fail-on-non-empty -- {} +
+
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ cp -t "${pkgdir}/usr/share/licenses/${pkgname}" -- LICENSE.txt LICENSE.bsd*.txt
}