aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/acct/APKBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD
index 1f8f8045cf..fb14207a3a 100644
--- a/main/acct/APKBUILD
+++ b/main/acct/APKBUILD
@@ -1,29 +1,29 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acct
-pkgver=6.5.5
+pkgver=6.6.1
pkgrel=0
pkgdesc="The GNU Accounting Utilities"
url="http://www.gnu.org/software/acct/"
arch="all"
-license="GPL"
-depends=
-makedepends=
-install=
+license="GPL3+"
+depends=""
+makedepends=""
+install=""
subpackages="$pkgname-doc"
-source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"
+source="http://ftp.gnu.org/gnu/acct/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- update_config_sub || return 1
+ cd "$_builddir"
+ #update_config_sub || return 1
# fix eglibc-2.16+ build issue
sed -i -e '/gets is a/d' \
lib/stdio.in.h || return 1
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$_builddir"
# seems like this makefile does not respect DESTDIR
./configure \
--build=$CBUILD \
@@ -33,13 +33,14 @@ build() {
--infodir="$pkgdir"/usr/share/info \
--enable-linux-multiformat \
|| return 1
-
- make LDADD="-lm lib/libgnu.la" || return 1
+ make LDADD="-lm lib/libgnu.la" || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make prefix="$pkgdir/usr" install
+ cd "$_builddir"
+ make prefix="$pkgdir/usr" install || return 1
}
-md5sums="554a9e9c6aa3482df07e80853eac0350 acct-6.5.5.tar.gz"
+md5sums="31a7a2ea81da1fddbc92b9c62cdea1c5 acct-6.6.1.tar.gz"
+sha256sums="554515611ef9299012b7510050868a48fc178ce1544947123ab46ec50230ffcb acct-6.6.1.tar.gz"
+sha512sums="4bc3d6b41aeafcf8acfdd020057f1b6f15eea3589981387bca7e57aa8fe71d058e8def97f139dd2c11a1ac39f2d8b95bd103d31caff042cf716dd961b9588f5d acct-6.6.1.tar.gz"