summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0cd809745ebcc0a540898f32aa6f79e6abb7ac1d (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
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Simon Tunnat <simon+aur@tunn.at>
# Contributor: anekos <anekos@snca.net>

pkgname=growl-for-linux
pkgver=0.8.5
pkgrel=1
pkgdesc="Growl for Linux"
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')
conflicts=('growl-for-linux-git')
options=('!libtool')


source=("$pkgname-$pkgver.tar.gz::https://github.com/mattn/growl-for-linux/archive/${pkgver}.tar.gz")
sha256sums=('6af57c763d26e8bf985eb6ede5c2d2be9469c4f9254bdebcb168f0703dfb20fa')
dirname="growl-for-linux-${pkgver}"

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: