summaryrefslogtreecommitdiff
path: root/community/girara
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
committerroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
commit14635ca5380a480450a66c3fcc29992d29a2bd8e (patch)
treea2f8e712c9e15b829397666c06d1cdd1a877d8a6 /community/girara
parent01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (diff)
Thu Mar 15 00:01:19 UTC 2012
Diffstat (limited to 'community/girara')
-rw-r--r--community/girara/PKGBUILD80
1 files changed, 80 insertions, 0 deletions
diff --git a/community/girara/PKGBUILD b/community/girara/PKGBUILD
new file mode 100644
index 000000000..a7d91c1d2
--- /dev/null
+++ b/community/girara/PKGBUILD
@@ -0,0 +1,80 @@
+# $Id: PKGBUILD 67564 2012-03-13 12:32:28Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: mlq <mlq@pwmt.org>
+
+pkgbase=girara
+pkgname=(girara-common girara-gtk2 girara-gtk3)
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="user interface library"
+arch=('i686' 'x86_64')
+url="http://pwmt.org/projects/girara"
+license=('custom')
+makedepends=('gtk3' 'gtk2')
+source=(http://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz)
+md5sums=('baa3ddb35703474c4a32dd2535785670')
+
+build() {
+ true
+}
+
+package_girara-common() {
+ depends=()
+ pkgdesc="user interface library - common files"
+
+ cd "$srcdir/girara-$pkgver"
+
+ make clean
+
+ # install header
+ make DESTDIR="$pkgdir/" install-headers
+
+ # install language files
+ make DESTDIR="$pkgdir/" -C po install
+
+ # remove pkgconfig files
+ rm -r $pkgdir/usr/lib/pkgconfig
+
+ # install license
+ install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_girara-gtk2() {
+ depends=('gtk2' 'girara-common')
+ provides=('girara')
+
+ cd "$srcdir/girara-$pkgver"
+
+ make clean
+ make GIRARA_GTK_VERSION=2
+
+ # install files
+ make GIRARA_GTK_VERSION=2 DESTDIR="$pkgdir/" install
+
+ # remove common files
+ rm -r "$pkgdir/usr/include"
+ rm -r "$pkgdir/usr/share"
+
+ # install license
+ install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_girara-gtk3() {
+ depends=('gtk3' 'girara-common')
+ provides=('girara')
+
+ cd "$srcdir/girara-$pkgver"
+
+ make clean
+ make GIRARA_GTK_VERSION=3
+
+ # install files
+ make GIRARA_GTK_VERSION=3 DESTDIR="$pkgdir/" install
+
+ # remove common files
+ rm -r "$pkgdir/usr/include"
+ rm -r "$pkgdir/usr/share"
+
+ # install license
+ install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}