diff options
Diffstat (limited to 'acct')
-rw-r--r-- | acct/PKGBUILD | 36 | ||||
-rw-r--r-- | acct/acct.install | 20 |
2 files changed, 0 insertions, 56 deletions
diff --git a/acct/PKGBUILD b/acct/PKGBUILD deleted file mode 100644 index b372d1b..0000000 --- a/acct/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: SpepS <dreamspepser at yahoo dot it> -# Contributor: damir <damir@archlinux.org> -# Contributor: phrakture - -pkgname=acct -pkgver=6.5.5 -pkgrel=1 -pkgdesc="The GNU Accounting Utilities provide login and process accounting utilities for GNU/Linux and other systems." -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/acct/" -license=('GPL') -depends=('glibc') -install="$pkgname.install" -source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('554a9e9c6aa3482df07e80853eac0350') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install - - rm $pkgdir/usr/share/info/dir - gzip $pkgdir/usr/share/info/* - - # Renaming last - mv "$pkgdir/usr/bin/last" "$pkgdir/usr/bin/last-acct" - mv "$pkgdir/usr/share/man/man1/last.1" "$pkgdir/usr/share/man/man1/last-acct.1" -} diff --git a/acct/acct.install b/acct/acct.install deleted file mode 100644 index 7007f0f..0000000 --- a/acct/acct.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=/usr/share/info -filelist=(accounting.info.gz) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $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 - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} |