updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / openfetion-all / PKGBUILD
blob17d50216047d5eae32d162aaa539774a93a7f7fd
1 # Maintainer: gebjgd <robinking623@gmail.com>
2 # Contributor: Philanecros <philanecros@gmail.com>
4 pkgname="openfetion-all"
5 pkgver="2.2.1"
6 pkgrel="1"
7 pkgdesc="OFetion a fetion client for linux based on GTK+2.0, using Fetion Protocol Version 4. that is version with gtk gui and cli"
9 arch=("i686" "x86_64")
11 url="http://code.google.com/p/ofetion/"
12 license=("GPL")
14 #groups=()
16 depends=("openssl" "libxml2" "gtk2" "sqlite3")
17 makedepends=("pkg-config" "intltool" "cmake")
18 optdepends=("libnotify" "gstreamer0.10" "networkmanager" "libxss")
20 #provides=()
21 #conflicts=()
22 #replaces=()
24 #backup=()
25 #options=()
27 #install=
28 #changelog=
30 source=("http://ofetion.googlecode.com/files/openfetion-${pkgver}.tar.gz")
31 #noextract=()
32 md5sums=("a5d4fcb2a8a1cdf39cca7a116b596558")
34 build() {
35   cd "${srcdir}/${pkgname}-${pkgver}"
37   rm -rf build
39   mkdir build
41   cd build
43   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..
45   make
48 package() {
49   cd "${srcdir}/${pkgname}-${pkgver}/build"
51   make DESTDIR="${pkgdir}/" install