blob: a24d1b597bd0797aaf7543f642b786fbea1734b7 (
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
|
# Contributor: fauno <fauno@parabola.nu>
pkgname=memlockd
pkgver=1.1.1
pkgrel=1
pkgdesc="daemon that locks files into memory"
arch=('i686' 'x86_64')
url="http://doc.coker.com.au/projects/memlockd/"
license=('GPL3')
depends=('glibc')
# main site doesn't announce 1.1.1
source=(http://ftp.de.debian.org/debian/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}.tar.gz)
install=${pkgname}.install
backup=(etc/memlockd.cfg)
md5sums=('5e7a895b032eaa55f8cf15104e43364d')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d -m 750 "${pkgdir}/usr/lib/memlockd" "${pkgdir}/etc/memlockd.d"
install -D -m 644 memlockd.8 "${pkgdir}/usr/share/man/man8/memlockd.8"
install -D -m 755 memlockd "${pkgdir}/usr/bin/memlockd"
install -D -m 640 memlockd.cfg "${pkgdir}/etc/memlockd.cfg"
install -D -m 644 memlockd.service "${pkgdir}/usr/lib/systemd/system/memlockd.service"
}
|