blob: 0262099beaf836d00592d98aeff46edc62fafe31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
|