blob: a01a2a5405a7d2a88c6645a072d5bd970bde9a86 (
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
34
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=smem
pkgver=1.4
pkgrel=1
pkgdesc="memory reporting tool"
url="http://www.selenic.com/smem/"
arch="noarch"
license="GPL"
depends="python2"
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
default_doc
}
md5sums="fe79435c3930389bfdb560255c802162 smem-1.4.tar.gz"
sha256sums="2ea9f878f4cf3c276774c3f7e2a41977a1f2d64f98d2dcb6a15f1f3d84df61ec smem-1.4.tar.gz"
sha512sums="2740b9ebede8e742e3d01f5f2e7a77a4d3ed04bee78585a904d07c299ea5a77be135dd5b6626abfdebcf2742b9004035443d3faeca04ca9b59c603f74708af9b smem-1.4.tar.gz"
|