mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Georg Grabler <ggrabler@gmail.com>
|
||
|
|
||
|
pkgname=perlpanel
|
||
|
pkgver=20080729
|
||
|
pkgrel=1
|
||
|
pkgdesc="PerlPanel is the ideal accompaniment to a light-weight Window Manager such as OpenBox, or a desktop-drawing program like iDesk."
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://savannah.nongnu.org/projects/perlpanel"
|
||
|
license=('GPL')
|
||
|
install=perlpanel.install
|
||
|
depends=('perl' 'perl-xmms' 'perlxml' 'perl-xml-simple' 'gtk2-perl' 'glade-perl' 'perl-gnome2-wnck' 'perl-locale-gettext' 'perl-date-manip')
|
||
|
source=(http://archlinux-stuff.googlecode.com/files/PerlPanel-$pkgver.tar.gz \
|
||
|
arch.patch)
|
||
|
md5sums=('8c7b76c4a5447ba4deef34b29bf883b7'
|
||
|
'c224817ecd0fa7372b3326a3f8196c3e')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/PerlPanel
|
||
|
chmod -R u+w *
|
||
|
sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' Makefile
|
||
|
|
||
|
patch -p1 <../arch.patch
|
||
|
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
|
||
|
/usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \;
|
||
|
/usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \;
|
||
|
/usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
|
||
|
/usr/bin/find $startdir/pkg -depth -type d -name CVS -exec rm -rf {} \;
|
||
|
}
|