blob: 6f8f939d60cf951b388a9bbe4a690748d30008fa (
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
|
# Maintainer: Andrius Pukšta <andrius.puksta at gmail dot com>
# Maintainer: raf <raf at raf dot org>
# Contributor: Mike Sampson <mike at sambodata dot com>
# Contributor: Adam Strauch <creckx at gmail dot com>
# Contributer: L42y <423300 at gmail dot com>
pkgname=daemon
pkgver=0.8.4
pkgrel=2
pkgdesc="Run any program as a daemon"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://libslack.org/daemon/"
license=('GPL')
depends=('glibc' 'systemd-libs')
makedepends=('perl' 'make' 'gcc')
source=("https://libslack.org/daemon/download/$pkgname-$pkgver.tar.gz")
sha256sums=('fa28859ad341cb0a0b012c11c271814f870482013b49f710600321d379887cd1')
backup=('etc/daemon.conf')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --destdir="$pkgdir" --enable-logind
CFLAGS='-march=native' make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install install-daemon-conf
}
|