summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f15159903075a5adc79f010351b0105433d41296 (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
# Current Contributor: Doug Penner <darwinsurvivor@gmail.com>
# Past Contributor: Marco Praher <marco.praher@gmx.at>
pkgname=gnocky
pkgver=0.0.7
pkgrel=2
pkgdesc='GTK written GUI frontend for gnokii'
arch=('i686' 'x86_64')
url='http://www.gnokii.org/'
license=('GPL')
depends=('libglade' 'gnokii>=0.6.26' 'libical')
makedepends=('make' 'gcc')
source=("http://www.gnokii.org/download/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('607b25ee3bbfc0cee5664018c302d8e0')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure LIBS=-lgthread-2.0
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make prefix=$pkgdir/usr/share/${pkgname} install
  mkdir -p $pkgdir/usr/bin/
  ln -s "/usr/share/gnocky/bin/gnocky" "$pkgdir/usr/bin/gnocky"
}