diff options
author | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-07-20 11:45:45 -0400 |
---|---|---|
committer | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-07-20 11:46:17 -0400 |
commit | b5d2dbf168921ea54f0e5487b725a36cbb3fd32a (patch) | |
tree | 3dc32395bb434622f173dc0dea3d64c52bd68b07 /main/smem | |
parent | a9f32e1b9b566e47bf35f16af1501d43853c5eb5 (diff) | |
download | aports-b5d2dbf168921ea54f0e5487b725a36cbb3fd32a.tar.bz2 aports-b5d2dbf168921ea54f0e5487b725a36cbb3fd32a.tar.xz |
main/smem: new aport
Diffstat (limited to 'main/smem')
-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 000000000..0262099be --- /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" |