blob: c04c58989db3337c599fe5112ca97c3ee433024c (
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
|
# Maintainer: Allen Wild <allenwild93@gmail.com>
pkgname=rundaemon
pkgver=1.0
pkgrel=1
pkgdesc="Simple program to daemonize anything"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="http://github.com/aswild/rundaemon"
license=('custom:Unlicense')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('877929d346f9a088c2f85da1cabe1f45f5c61d1f2edf73712c06c9ff8e27e17c')
_makeargs=(VERSION=${pkgver} PREFIX=/usr)
build() {
cd "$srcdir/$pkgname-$pkgver"
make "${_makeargs[@]}"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make "${_makeargs[@]}" DESTDIR="$pkgdir" install
install -Dm644 UNLICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|