diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 12:19:54 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 12:19:54 -0300 |
commit | 730bda0e79d3e122d665663a18e0c973d7209236 (patch) | |
tree | 251b00a85c7bbc2e3ee21102c5c16c1054cf4669 /community/gcolor2 | |
parent | cfe7b034671297c6bba5e91867d98e182c683ded (diff) | |
parent | fe769389426a6aa5a2878bf7dcfc6144717e1e93 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gcolor2/PKGBUILD
community/perl-list-moreutils/PKGBUILD
extra/boost/PKGBUILD
extra/cdrkit/PKGBUILD
extra/ettercap/PKGBUILD
extra/lame/PKGBUILD
extra/sdl/PKGBUILD
extra/unzip/PKGBUILD
gnome-unstable/at-spi2-atk/PKGBUILD
gnome-unstable/at-spi2-core/PKGBUILD
gnome-unstable/caribou/PKGBUILD
gnome-unstable/empathy/PKGBUILD
gnome-unstable/eog/PKGBUILD
gnome-unstable/epiphany/PKGBUILD
gnome-unstable/glib2/PKGBUILD
gnome-unstable/glibmm/PKGBUILD
gnome-unstable/gnome-themes-standard/PKGBUILD
gnome-unstable/gtkmm3/PKGBUILD
gnome-unstable/yelp/PKGBUILD
Diffstat (limited to 'community/gcolor2')
-rw-r--r-- | community/gcolor2/PKGBUILD | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/community/gcolor2/PKGBUILD b/community/gcolor2/PKGBUILD index 31195e06d..29c03c09a 100644 --- a/community/gcolor2/PKGBUILD +++ b/community/gcolor2/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 9537 2010-01-27 00:58:00Z dgriffiths $ -# Maintainer: pressh <pressh funnysymbol gmail dot com> +# Contributor: pressh <pressh funnysymbol gmail dot com> # Contributor: Eric Belanger <belanger@astro.umontreal.ca> # Contributor: shaun lastra <badicalia@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=gcolor2 pkgver=0.4 -pkgrel=5 +pkgrel=6 pkgdesc="A simple GTK+2 color selector" arch=('i686' 'x86_64' 'mips64el') url="http://gcolor2.sf.net/" @@ -20,13 +20,21 @@ md5sums=('02de9d925ad5921522685f402caec3ec' build() { cd $srcdir/$pkgname-$pkgver - [ "$CARCH" == "x86_64" ] && (patch -p1 < ../gcolor2-0.4-amd64.patch || return 1) - [ "$CARCH" == "mips64el" ] && (patch -p1 < ../gcolor2-0.4-amd64.patch || return 1) - ./configure --prefix=/usr - make || return 1 - make DESTDIR=$pkgdir install || return 1 + [ "$CARCH" == "x86_64" ] && (patch -p1 < ../gcolor2-0.4-amd64.patch) + [ "$CARCH" == "mips64el" ] && (patch -p1 < ../gcolor2-0.4-amd64.patch) -# install desktop file -install -Dm644 $srcdir/gcolor2.desktop \ - $pkgdir/usr/share/applications/gcolor2.desktop + # fix fs#25904 + sed -i 's/\[:space:\]/[&]/g' configure + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + # install desktop file + install -Dm644 ${srcdir}/gcolor2.desktop \ + ${pkgdir}/usr/share/applications/gcolor2.desktop } |