diff options
-rw-r--r-- | main/smem/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/smem/APKBUILD b/main/smem/APKBUILD new file mode 100644 index 0000000000..0262099bea --- /dev/null +++ b/main/smem/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=smem +pkgver=1.0 +pkgrel=0 +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 +} + +md5sums="5620f20cae4d4f0e8eb33bdc2736b0f3 smem-1.0.tar.gz" |