blob: 4f68f85adea982ac81ab12e5da87e96750a267bd (
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
|
# Maintainer: jjacky
pkgname=kalu
pkgver=0.0.3
pkgrel=1
pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news"
arch=('i686' 'x86_64')
url="https://bitbucket.org/jjacky/kalu"
license=('GPL3+')
depends=('dbus' 'polkit' 'gtk3' 'pacman>=4.0.1' 'pacman<4.1' 'curl' 'libnotify', 'notification-daemon')
makedepends=('pkg-config')
source=(https://bitbucket.org/jjacky/$pkgname/get/$pkgver.tar.gz)
md5sums=('e6158be2d2c87238c2ab7bb7a5c3386f')
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
}
# vim:set ts=2 sw=2 et:
|