diff options
Diffstat (limited to 'dist/archlinux/stable')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 | ||||
-rw-r--r-- | dist/archlinux/stable/krandom.install | 20 |
3 files changed, 0 insertions, 53 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 85ef6a7..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!/.git* -*~ -!/PKGBUILD -!/krandom.install - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index daaa368..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=krandom -pkgver=1.2 -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) - - -build() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr -} - - -package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr install DESTDIR="$pkgdir" -} - diff --git a/dist/archlinux/stable/krandom.install b/dist/archlinux/stable/krandom.install deleted file mode 100644 index c756c7f..0000000 --- a/dist/archlinux/stable/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 -} - |