mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Pbl Gomez <pblgomez@gmail.com>
|
|
|
|
pkgname=glipper-old
|
|
pkgver=0.95.1
|
|
pkgrel=2
|
|
pkgdesc="Gnome clipboard for nongnome desktop"
|
|
arch=('i686' 'x86_64')
|
|
url="http://sourceforge.net/projects/glipper/"
|
|
license=("GPL")
|
|
depends=(libgnome libglade)
|
|
makedepends=(pkgconfig perlxml gnome-doc-utils)
|
|
source=(http://downloads.sourceforge.net/sourceforge/glipper/glipper-$pkgver.tar.gz \
|
|
arch.patch)
|
|
md5sums=('aa6524f59342d72fee8bed36e6267746'
|
|
'e9e9581330bbc1fe0a28fa349de02bda')
|
|
|
|
build() {
|
|
cd $startdir/src/glipper-$pkgver
|
|
|
|
ln -s -f /usr/share/aclocal/gnome-doc-utils.m4 m4/gnome-doc-utils.m4
|
|
ln -s -f /usr/share/gnome-doc-utils/gnome-doc-utils.make gnome-doc-utils.make
|
|
|
|
patch -Np1 <../arch.patch && \
|
|
mv data/glipper.png data/glipper-old.png && \
|
|
mv help/C/glipper.xml help/C/glipper-old.xml && \
|
|
mv data/glipper-properties.glade data/glipper-old-properties.glade && \
|
|
mv data/glipper.desktop.in data/glipper-old.desktop.in || return 1
|
|
|
|
./configure --prefix=/usr --program-suffix=-old --disable-gnome || return 1
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
rm -rf $startdir/pkg/usr/share/gnome
|
|
}
|