summaryrefslogtreecommitdiff
path: root/system/procps/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/procps/APKBUILD')
-rw-r--r--system/procps/APKBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/system/procps/APKBUILD b/system/procps/APKBUILD
index 5b1a66592..f44733a59 100644
--- a/system/procps/APKBUILD
+++ b/system/procps/APKBUILD
@@ -1,18 +1,18 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=procps
-pkgver=3.3.12
-pkgrel=4
+pkgver=3.3.15
+pkgrel=0
pkgdesc="Utilities for monitoring your system and processes on your system"
url="https://gitlab.com/procps-ng/procps"
arch="all"
-license="GPL LGPL"
-makedepends_build="autoconf automake libtool gettext-dev"
-makedepends_host="ncurses-dev gettext-dev"
+license="GPL-2.0+ LGPL-2.0+"
+makedepends_build="autoconf automake libtool gettext-tiny"
+makedepends_host="ncurses-dev utmps-dev"
checkdepends="dejagnu"
-subpackages="$pkgname-dev $pkgname-doc libproc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang libproc"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/procps-ng/$pkgname/repository/archive.tar.gz?ref=v$pkgver
- strtod.patch"
-builddir="$srcdir/$pkgname-v$pkgver"
+ 0001-pt_BR-fix-translation-error.patch
+ use-utmpx.patch"
prepare() {
# NOTE: Name of the tarball's top-level directory contains SHA1.
@@ -27,7 +27,7 @@ prepare() {
build() {
cd "$builddir"
- export LIBS="$LIBS -lintl"
+ export LIBS="$LIBS -lutmps -lskarnet"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,6 +38,7 @@ build() {
--mandir=/usr/share/man \
--sysconfdir=/etc \
--docdir=/usr/share/doc \
+ --datarootdir=/usr/share \
--disable-static \
--disable-rpath \
--with-ncurses \
@@ -48,7 +49,8 @@ build() {
check() {
cd "$builddir"
- make check
+ # can't use `make check`; 'po' dir has no check target
+ make check-TESTS
}
package() {
@@ -67,10 +69,12 @@ package() {
libproc() {
pkgdesc="Library for monitoring system and processes"
+ license="LGPL-2.1+"
install -d "$subpkgdir"/
mv "$pkgdir"/lib "$subpkgdir"/
}
-sha512sums="a4400b9e13f8e9ec1c527a0e9e2e5580b6d007cae0f961b2a82c2924e4922232cee7a8be77badb45d608383758476da0260460d8e0801a5e88ced7cc6b8c10cc procps-3.3.12.tar.gz
-93449c3b431a40d9fbfe8a5681cbd3696a984565b99d6105cf988ae571beda0c815104a3a13bf6d20289705e4063b0a61d2658c422293095e3eb78c29c41053b strtod.patch"
+sha512sums="61017c98827cb9c325fe51f74e9e912cb6b130abdc69742678968a45f4a6f1f033bac4adaed19908197bc97a7426a7a27e04be361edb74ebff3dc0383b71fa53 procps-3.3.15.tar.gz
+d63c8df42f74f08f19276a8f4d0260624313801b138aa2b430a105328c3230427d3e81bc016ddde9fc995575e97961a3be8e4f5ded34c874cc613c645605a976 0001-pt_BR-fix-translation-error.patch
+6683b94f64848721ebce8254461fbd70a3efd048bf9579c5bbe298bd1ec00594c05640327f0e03475e583607f1f7405139b93fc9f06592d5593174cbf6d4119f use-utmpx.patch"