mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
35 lines
980 B
Plaintext
35 lines
980 B
Plaintext
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=smem
|
|
pkgver=1.4
|
|
pkgrel=1
|
|
pkgdesc="memory reporting tool"
|
|
url="http://www.selenic.com/smem/"
|
|
arch="noarch"
|
|
license="GPL"
|
|
depends="python"
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://www.selenic.com/smem/download/smem-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/smem-$pkgver
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
mkdir -p "$pkgdir"/usr/bin
|
|
install -m755 smem "$pkgdir"/usr/bin
|
|
}
|
|
|
|
doc() {
|
|
cd "$_builddir"
|
|
mkdir -p "$subpkgdir"/usr/share/man/man8
|
|
install -m644 smem.8 "$subpkgdir"/usr/share/man/man8
|
|
default_doc
|
|
}
|
|
|
|
md5sums="fe79435c3930389bfdb560255c802162 smem-1.4.tar.gz"
|
|
sha256sums="2ea9f878f4cf3c276774c3f7e2a41977a1f2d64f98d2dcb6a15f1f3d84df61ec smem-1.4.tar.gz"
|
|
sha512sums="2740b9ebede8e742e3d01f5f2e7a77a4d3ed04bee78585a904d07c299ea5a77be135dd5b6626abfdebcf2742b9004035443d3faeca04ca9b59c603f74708af9b smem-1.4.tar.gz"
|