blob: 117dc62f862bba540413e87a4511bf12da4756f6 (
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: Natanael Copa <ncopa@alpinelinux.org>
pkgname=smem
pkgver=1.2
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="b8975840a08172ba8a1abbe7cb202dfe smem-1.2.tar.gz"
|