summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88fe14ecf75e58cc499d37aa10e94a05e40029e1 (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: Yann Orieult <yo.managements@gmail.com>

pkgname=regal
pkgver=11.823d99e
pkgrel=1
pkgdesc='Simple CLI regular alarm'
arch=('any')
url='https://github.com/yoarch/regal'
license=('MIT')
depends=('bash' 'mpv')
#makedepends=('')

source=("git://github.com/yoarch/regal.git")
#source#=("file:///$MHOME/dev/aur/regal/regal.tar.gz")
sha256sums=('SKIP')

pkgver() {
	cd "$pkgname"
	echo "$(git rev-list --count HEAD).$(git describe --always)"
} # '

package() {
	cd "$srcdir/$pkgname"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE    "
	install -Dm644 README.md "$pkgdir/usr/lib/$pkgname/README.md"
	install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
	mkdir -p "$pkgdir/usr/share/sounds/$pkgname"
	install -Dm644 audio/duck.wav "$pkgdir/usr/share/sounds/$pkgname/"
}