blob: 8e4c834372ef30fd23f81d7964ff01cc8216eea0 (
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
32
33
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=smem
pkgver=1.3
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="dd849102610aadb9f64379db09e73d41 smem-1.3.tar.gz"
sha256sums="18c4700ea03eb256b52bb7cd3c53e2a99db879a2ac828196796f93b6a8433ae6 smem-1.3.tar.gz"
sha512sums="e9c177aeec8b660492f3ac4d67ac35f24f477262d2e3ccd6e1eea8d86d432c723ee01bb9186f63a46d23527ed8410a21d671c68ebe60778182d67622bcca99c0 smem-1.3.tar.gz"
|