diff --git a/templates/acct/template b/templates/acct/template new file mode 100644 index 00000000000..3426ef49f87 --- /dev/null +++ b/templates/acct/template @@ -0,0 +1,23 @@ +# Template file for 'acct' +pkgname=acct +version=6.3.2 +distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu_configure +make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr + mandir=$XBPS_DESTDIR/$pkgname-$version/usr/share/man + infodir=$XBPS_DESTDIR/$pkgname-$version/usr/share/info install" +short_desc="GNU Accounting Utilities" +maintainer="Juan RP " +checksum=273a7aeeafac2e71217c06275d4e1175ef504dac772026bd84cb87dbbe3ecec4 +long_desc=" + The GNU Accounting Utilities provide login and process accounting + utilities for GNU/Linux and other systems." + +Add_dependency full glibc + +post_install() +{ + # The last(1) command is provided by sysvinit. + rm ${DESTDIR}/usr/bin/last + rm ${DESTDIR}/usr/share/man/man1/last.1 +}