aboutsummaryrefslogtreecommitdiffstats
path: root/krandom
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--krandom/PKGBUILD26
-rw-r--r--krandom/krandom.install20
2 files changed, 11 insertions, 35 deletions
diff --git a/krandom/PKGBUILD b/krandom/PKGBUILD
index daaa368..5292ad1 100644
--- a/krandom/PKGBUILD
+++ b/krandom/PKGBUILD
@@ -1,27 +1,23 @@
-# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=krandom
-pkgver=1.2
+pkgver=2.0
pkgrel=1
pkgdesc="Keccak-based userspace pseudorandom number generator"
arch=(i686 x86_64)
url="https://github.com/maandree/krandom"
-license=('AGPL3')
-depends=(libkeccak argparser glibc)
-makedepends=(libkeccak argparser glibc auto-auto-complete texinfo gcc make coreutils)
-install=krandom.install
-source=($url/archive/$pkgver.tar.gz)
-sha256sums=(7aa622a9d456b846f589fd4e47c926559294248db19b30538e5fc550e842bac5)
-
+license=('custom:ISC')
+depends=()
+makedepends=(libkeccak)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(db97f128ecb45d645bc0e54ad8a4cb278f82ef71057d9a8339624156bc1e16ee)
build() {
- cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
}
-
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr install DESTDIR="$pkgdir"
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr install DESTDIR="$pkgdir"
}
-
diff --git a/krandom/krandom.install b/krandom/krandom.install
deleted file mode 100644
index c756c7f..0000000
--- a/krandom/krandom.install
+++ /dev/null
@@ -1,20 +0,0 @@
-_file="krandom"
-
-infodir="usr/share/info"
-file="${_file}.info"
-
-
-post_install() {
- [[ -x "usr/bin/install-info" ]] || return 0
- install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-pre_remove() {
- [[ -x "usr/bin/install-info" ]] || return 0
- install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
-}
-