-
Notifications
You must be signed in to change notification settings - Fork 5
/
PKGBUILD
33 lines (27 loc) · 931 Bytes
/
PKGBUILD
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
# Maintainer: Sébastien Luttringer
pkgname=aurbot-git
pkgver=1
pkgrel=1
pkgdesc='AUR Builder Bot'
arch=('any')
url='https://git.seblu.net/archlinux/aurbot/'
license=('GPL2')
backup=('etc/aurbot.conf')
makedepends=('git' 'python-distribute')
depends=('systemd' 'python' 'python-systemd')
optdepends=('devtools')
pkgver() {
cd "$startdir"
printf '%s.%(%Y%m%d%H%M)T' "$(git rev-list --count HEAD)"
}
package() {
cd "$startdir"
install -Dm755 aurbot "$pkgdir/usr/bin/aurbot"
install -Dm644 /dev/null "$pkgdir/etc/aurbot.conf"
install -dm755 "$pkgdir/usr/share/doc/aurbot/samples"
install -m644 aurbot.conf.example{1,2,3} "$pkgdir/usr/share/doc/aurbot/samples"
install -Dm644 aurbot.service "$pkgdir/usr/lib/systemd/system/aurbot.service"
install -Dm644 aurbot.sysusers "$pkgdir/usr/lib/sysusers.d/aurbot.conf"
install -Dm644 aurbot.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/aurbot.conf"
}
# vim:set ts=2 sw=2 et: