blob: 2c2400f5864948ced8c86d7ca25634cec687edec (
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
39
40
41
42
43
44
45
46
47
|
# Maintainer: David Stearns <David@DavidStearns.us>
# Contributor: Simon Tunnat <simon+aur@tunn.at>
# Contributor: anekos <anekos@snca.net>
pkgname=growl-for-linux-git
pkgver=r4.edac6d9
pkgrel=1
pkgdesc="Growl for Linux - git release"
url="http://mattn.github.com/growl-for-linux/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('git' 'openssl' 'curl' 'gtk2' 'sqlite3' 'dbus-glib' 'desktop-file-utils')
optdepends=('libnotify')
makedepends=()
conflicts=('growl-for-linux')
replaces=()
backup=()
options=('!libtool')
source=("growl-for-linux-git::git+https://github.com/mattn/growl-for-linux.git#branch=master")
md5sums=('SKIP')
_dirname="growl-for-linux-git"
pkgver() {
cd "$_pkgbase"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build () {
cd "$srcdir/$_dirname"
export LDFLAGS="$LDFLAGS -lgmodule-2.0 -lgthread-2.0"
export LIBNOTIFY_LIBS="-lnotify"
./autogen.sh
./configure --prefix=/usr && make
}
package () {
cd "$srcdir/$_dirname"
echo $PWD
make install DESTDIR="$pkgdir" prefix=/usr
}
# vim:set ts=2 sw=2 et:
|