updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / openfetion / PKGBUILD
blobed46c10688149ee703fa4178ab6a17d5cccf396c
1 # Maintainer: gebjgd <robinking623@gmail.com>
2 # Contributor: Philanecros <philanecros@gmail.com>
4 pkgname="openfetion"
5 pkgver="2.2.2"
6 pkgrel="1"
7 pkgdesc="OFetion a fetion client for linux based on GTK+2.0, using Fetion Protocol Version 4. that is openfetion with GTK GUI"
9 arch=("i686" "x86_64")
11 url="http://code.google.com/p/ofetion/"
12 license=("GPL")
14 #groups=()
16 depends=("openssl" "libxml2" "gtk2" "sqlite3" "librsvg")
17 makedepends=("pkg-config" "intltool" "cmake")
18 optdepends=("libnotify" "gstreamer0.10" "networkmanager" "libxss" "libindicator" "libindicate-gtk")
20 #provides=()
21 #conflicts=("openfetion-cli")
22 #replaces=()
24 #backup=()
25 #options=()
27 #install=
28 #changelog=
30 source=("http://ofetion.googlecode.com/files/${pkgname}-standalone-${pkgver}.tar.gz")
31 #noextract=()
32 md5sums=("7d5052a528fda8ce5db04affc46df3ac")
34 build() {
35   cd "${srcdir}/${pkgname}-standalone-${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}-standalone-${pkgver}/build"
51   make DESTDIR="${pkgdir}/" install