diff options
author | root <root@rshg054.dnsready.net> | 2012-05-24 00:02:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-24 00:02:45 +0000 |
commit | 6553825d7281900890db91a21ac601d7aee9c55e (patch) | |
tree | f1840f9e4603c9fb5573f6984627dd089a678afc /community/talkfilters | |
parent | bd614ac21d2754d778a796cd5e92d1568ec8baec (diff) |
Thu May 24 00:02:45 UTC 2012
Diffstat (limited to 'community/talkfilters')
-rw-r--r-- | community/talkfilters/PKGBUILD | 26 | ||||
-rw-r--r-- | community/talkfilters/talkfilters.install | 21 |
2 files changed, 47 insertions, 0 deletions
diff --git a/community/talkfilters/PKGBUILD b/community/talkfilters/PKGBUILD new file mode 100644 index 000000000..8d8917ac3 --- /dev/null +++ b/community/talkfilters/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: ConnorBehan <connor.behan@gmail.com> + +pkgname=talkfilters +pkgver=2.3.8 +pkgrel=2 +pkgdesc="Filters to translate text into dialects that GNU finds funny" +arch=(i686 x86_64) +url="http://www.hyperrealm.com/main.php?s=talkfilters" +options=('!libtool') +depends=('glibc') +license=('custom:Public Domain') +install=$pkgname.install +source=(http://www.hyperrealm.com/${pkgname}/${pkgname}-${pkgver}.tar.gz) + +build() { + cd "$srcdir"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver} + make prefix="$pkgdir"/usr install +} + +md5sums=('c11c6863a1c246a8d49a80a1168b54c8') diff --git a/community/talkfilters/talkfilters.install b/community/talkfilters/talkfilters.install new file mode 100644 index 000000000..d61edc851 --- /dev/null +++ b/community/talkfilters/talkfilters.install @@ -0,0 +1,21 @@ +infodir=usr/share/info +filelist=(talkfilters.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + |