blob: 175bde025fe7ed08db6657da629a1d33a1017fcf (
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
37
38
|
# Maintainer: Manuel Palenzuela <sadshinobi@protonmail.com>
author=troglobit
pkgname=sun-git
_gitname=sun
pkgver=0
pkgrel=1
pkgdesc='Simple library and application that shows sunset and sunrise based on your latitude,longitude'
url='https://github.com/troglobit/sun.git'
arch=('any')
license=('GPL')
depends=('autoconf' 'automake' 'libtool')
makedepends=('git')
conflicts=('sun')
provides=('sun')
source=("git://github.com/$author/$_gitname.git")
md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$_gitname"
printf '0.r%s.%s' \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
./autogen.sh
./configure
}
package() {
cd "$_gitname"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|