blob: 19432f737bb2083324dbff0cff567537adc14b46 (
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
|
# Maintainer: Corey Mwamba <contact.me@coreymwamba.co.uk>
pkgname=estonta-git
_pkgname=estonta
pkgver=r49.36f15db
pkgrel=1
pkgbase=estonta-git
pkgdesc="A simple Bash and Yad-based appointment system."
arch=('i686' 'x86_64')
url="https://github.com/coreymwamba/estonta"
license=('GPL')
optdepends=('yad: graphical interface')
makedepends=('git')
source=('git+https://github.com/coreymwamba/estonta')
install='estonta-git.install'
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/etc
cd "$_pkgname"
install -p -D estonta -m755 $pkgdir/usr/bin/estonta
install -p -D estonta.conf -m644 $pkgdir/etc/estonta.conf
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|