aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-22 17:40:25 +0100
committerMattias Andrée <maandree@kth.se>2021-02-22 17:40:25 +0100
commit2f161ada8103d0a9fdde8b8386f5a23f93178543 (patch)
treed4efa5d52c31544e4e31201d487f6505488120f1
parentUpdate file2key (diff)
downloadaur-packages-2f161ada8103d0a9fdde8b8386f5a23f93178543.tar.gz
aur-packages-2f161ada8103d0a9fdde8b8386f5a23f93178543.tar.bz2
aur-packages-2f161ada8103d0a9fdde8b8386f5a23f93178543.tar.xz
Update krandom
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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
-}
-