blob: 36379e06851425138dacead8d7315da4ca2dd742 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 17674 2010-05-24 20:38:47Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ice-man <icemanf@gmail.com>
pkgname=sisctrl
pkgver=0.0.20051202
pkgrel=5
arch=(i686 x86_64 'mips64el')
pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
makedepends=('pkgconfig')
depends=('gtk2' 'libxxf86vm' 'libxv')
url="http://www.winischhofer.eu/linuxsisvga.shtml"
license=("GPL")
source=(http://www.winischhofer.net/sis/sisctrl-$pkgver.tar.gz)
md5sums=('d9db755fe9fd40809b5c30d1ab286d62')
build() {
cd $srcdir/$pkgname-$pkgver
if [ -e /usr/lib/libXv.so ]; then
./configure --with-xv-path=/usr/lib
else
./configure
fi
make || return 1
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/man/man1/
mkdir -p $pkgdir/usr/share/pixmaps
mkdir -p $pkgdir/usr/share/applications
install -m 755 sisctrl $pkgdir/usr/bin && \
cp sisctrl.1x sisctrl.1; gzip sisctrl.1 && \
install -m 644 sisctrl.1.gz $pkgdir/usr/man/man1/ && \
install -m 644 icons/32x32/sisctrl.xpm $pkgdir/usr/share/pixmaps && \
install -m 644 icons/16x16/sisctrl.png $pkgdir/usr/share/pixmaps/sisctrl_16x16.png && \
install -m 644 icons/32x32/sisctrl.png $pkgdir/usr/share/pixmaps/sisctrl_32x32.png && \
install -m 644 icons/48x48/sisctrl.png $pkgdir/usr/share/pixmaps/sisctrl_48x48.png && \
install -m 644 extra/sisctrl.desktop $pkgdir/usr/share/applications || return 1
mv $pkgdir/usr/man $pkgdir/usr/share/
}
|