blob: d4dc6f1e6283bf8849cd91172e77d72ad5ae3d58 (
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
|
# Maintainer: Guilherme Rugai Freire <dev at grfreire dot com>
_pkgname=sowon
pkgname="${_pkgname}-git"
pkgver=r66.85dbbd0
pkgrel=3
pkgdesc="Starting Soon Timer and Clock"
arch=('x86_64')
url="https://github.com/tsoding/sowon"
license=('MIT')
depends=('sdl2')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
make -C "$_pkgname"
}
package() {
cd "$srcdir/$_pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
|