blob: 3d1bc8c0e5886e2f90807ed7fadf5fef2c890c5b (
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
|
# Maintainer: jjacky
pkgname=kalu
pkgver=0.0.0
pkgrel=1
pkgdesc="Keep Arch Linux Up-to-date -- an upgrade notifier for Arch Linux"
arch=('i686' 'x86_64')
url="https://bitbucket.org/jjacky/kalu"
license=('GPL3+')
depends=('dbus' 'polkit' 'gtk3' 'pacman>=4.0.1' 'curl' 'libnotify')
makedepends=('pkg-config')
#source=(https://bitbucket.org/jjacky/$pkgname/get/$pkgver.tar.gz)
source=(https://bitbucket.org/jjacky/$pkgname/get/tip.tar.gz)
build() {
cd "$srcdir"
# archive is auto-generated by bitbucket, so name includes last commit
_dir=$(ls | grep jjacky-$pkgname-)
# moving it all in srcdir
mv $_dir/* .
# removing e.g. .hg_archival.txt or .hgtags
rm -f $_dir/.hg*
rmdir $_dir
make
}
package() {
cd "$srcdir"
make DESTDIR="$pkgdir/" install
}
md5sums=('6b0a05da61492e7957d728cbce695ec8')
# vim:set ts=2 sw=2 et:
|