mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
43 lines
1.5 KiB
Bash
43 lines
1.5 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: ice-man <icemanf@gmail.com>
|
|
|
|
pkgname=sisctrl
|
|
pkgver=0.0.20051202
|
|
pkgrel=3
|
|
arch=(i686 x86_64)
|
|
pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
|
|
makedepends=('pkgconfig')
|
|
depends=('gtk2')
|
|
url="http://www.winischhofer.at/linuxsisvga.shtml"
|
|
license=("GPL")
|
|
source=(http://www.winischhofer.net/sis/sisctrl-$pkgver.tar.gz)
|
|
md5sums=('d9db755fe9fd40809b5c30d1ab286d62')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
if [ -e /usr/lib/libXv.so ]; then
|
|
./configure --with-xv-path=/usr/lib
|
|
else
|
|
./configure
|
|
fi
|
|
|
|
make || return 1
|
|
|
|
mkdir -p $startdir/pkg/usr/bin
|
|
mkdir -p $startdir/pkg/usr/man/man1/
|
|
mkdir -p $startdir/pkg/usr/share/pixmaps
|
|
mkdir -p $startdir/pkg/usr/share/applications
|
|
|
|
install -m 755 sisctrl $startdir/pkg/usr/bin && \
|
|
cp sisctrl.1x sisctrl.1; gzip sisctrl.1 && \
|
|
install -m 644 sisctrl.1.gz $startdir/pkg/usr/man/man1/ && \
|
|
install -m 644 icons/32x32/sisctrl.xpm $startdir/pkg/usr/share/pixmaps && \
|
|
install -m 644 icons/16x16/sisctrl.png $startdir/pkg/usr/share/pixmaps/sisctrl_16x16.png && \
|
|
install -m 644 icons/32x32/sisctrl.png $startdir/pkg/usr/share/pixmaps/sisctrl_32x32.png && \
|
|
install -m 644 icons/48x48/sisctrl.png $startdir/pkg/usr/share/pixmaps/sisctrl_48x48.png && \
|
|
install -m 644 extra/sisctrl.desktop $startdir/pkg/usr/share/applications || return 1
|
|
|
|
mv $pkgdir/usr/man $pkgdir/usr/share/
|
|
}
|