blob: c32f07b2002d3dc6b4c06e37d7d1866581a9ff40 (
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
35
36
|
# Maintainer: Emmie Maeda <emmie.maeda@gmail.com>
pkgname=qotd
pkgver=0.12.0
pkgrel=1
pkgdesc="A simple RFC 865-compliant QOTD (quote of the day) daemon."
arch=('any')
url="https://github.com/emmiegit/$pkgname"
license=('GPL')
depends=()
makedepends=('git' 'gcc' 'ghostscript' 'gzip')
optdepends=()
provides=("$pkgname")
conflicts=("$pkgname")
options=('!zipman')
install="$pkgname.install"
source=("https://github.com/emmiegit/qotd/archive/v$pkgver.tar.gz")
sha256sums=('SKIP')
backup=('etc/qotd.conf')
build() {
cd "${pkgname%-git}-${pkgver}"
# Compile sources
make release
}
package() {
cd "${pkgname%-git}-${pkgver}"
# Install files
make ROOT="$pkgdir" SYSTEMD=1 install
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
# vim: set sw=4 ts=4 noet:
|