diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-02 21:43:03 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-02 21:56:16 -0500 |
commit | 15f8572f9aa3ed919481d0e30f1e25a5ca81db9e (patch) | |
tree | 3e40873340865ee9246e0d7ea5162e9c1bd7d2fb /user/htop/APKBUILD | |
parent | 726d34dd37e808e2b56f3424e1cb5771e05fb03f (diff) | |
download | packages-15f8572f9aa3ed919481d0e30f1e25a5ca81db9e.tar.gz packages-15f8572f9aa3ed919481d0e30f1e25a5ca81db9e.tar.bz2 packages-15f8572f9aa3ed919481d0e30f1e25a5ca81db9e.tar.xz packages-15f8572f9aa3ed919481d0e30f1e25a5ca81db9e.zip |
user/htop: new package
Diffstat (limited to 'user/htop/APKBUILD')
-rw-r--r-- | user/htop/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/htop/APKBUILD b/user/htop/APKBUILD new file mode 100644 index 000000000..2dc87cfa7 --- /dev/null +++ b/user/htop/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=htop +pkgver=2.2.0 +pkgrel=0 +pkgdesc="Interactive process viewer" +url="http://hisham.hm/htop" +arch="all" +options="!check" # No test suite. +license="GPL-2.0+" +depends="" +makedepends="ncurses-dev python3" +subpackages="$pkgname-doc" +source="http://hisham.hm/htop/releases/$pkgver/$pkgname-$pkgver.tar.gz + fix-python-path.patch" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-cgroup \ + --enable-taskstats + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e htop-2.2.0.tar.gz +16358bcd6d83181cc04dd8a7971f7cc0804dc49995208bad2042bcca7962f562bbd008c2185f24aa6186c58896e94e4ec02e2053dc46ed14789889d64836b679 fix-python-path.patch" |