summaryrefslogtreecommitdiff
path: root/community/girara/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-26 03:25:35 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-26 03:25:35 +0000
commit76b667b6360f6f7e97f13392cf156f197dc4017b (patch)
tree3299ec5921d2da42ec5563b4ced54e65aa2c058b /community/girara/PKGBUILD
parent7d53ccd018d0e86e7aa3a0c0b1a092ce8b206041 (diff)
Thu Jun 26 03:22:36 UTC 2014
Diffstat (limited to 'community/girara/PKGBUILD')
-rw-r--r--community/girara/PKGBUILD73
1 files changed, 11 insertions, 62 deletions
diff --git a/community/girara/PKGBUILD b/community/girara/PKGBUILD
index 8c7f0e340..bf6d0131b 100644
--- a/community/girara/PKGBUILD
+++ b/community/girara/PKGBUILD
@@ -1,81 +1,30 @@
-# $Id: PKGBUILD 105895 2014-02-18 09:17:33Z spupykin $
+# $Id: PKGBUILD 113560 2014-06-25 16:59:30Z spupykin $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mlq <mlq@pwmt.org>
-pkgbase=girara
-pkgname=(girara-common girara-gtk3)
-pkgver=0.2.0
+pkgname=girara
+pkgver=0.2.2
pkgrel=1
pkgdesc="user interface library"
arch=('i686' 'x86_64')
url="http://pwmt.org/projects/girara"
license=('custom')
-makedepends=('gtk3' 'gtk2')
+depends=('gtk3')
+replaces=('girara-gtk3' 'girara-common')
+provides=('girara-gtk3' 'girara-common')
+conflicts=('girara-gtk3' 'girara-common')
source=(http://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz)
-md5sums=('cb965af58bc435f356296e62629716f5')
+md5sums=('678b0fb6f22d88ba4c29297c67685c50')
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"
+ touch colors.mk
+ make GIRARA_GTK_VERSION=3
}
-package_girara-gtk3() {
- depends=('gtk3' 'girara-common')
- provides=('girara')
-
+package() {
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"
}