-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPKGBUILD
45 lines (37 loc) · 827 Bytes
/
PKGBUILD
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
44
45
#Maintainer: Matt Monaco <net 0x01b dgbaley27>
pkgname=xf86-video-nested-git
pkgver=20120403
pkgrel=1
pkgdesc="Driver to run Xorg on top of Xorg or something else."
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-nested"
license=("MIT")
source=()
md5sums=()
groups=("xorg-drivers")
arch=("x86_64" "i686")
backup=()
depends=("libxext")
makedepends=("xorg-server-devel")
options=("!libtool")
_gitroot="http://cgit.freedesktop.org/xorg/driver/xf86-video-nested"
_gitname="$pkgname"
build()
{
cd "$srcdir"
if [[ ! -d "$_gitname" ]]; then
git clone "$_gitroot" "$_gitname"
cd "$_gitname"
else
cd "$_gitname"
git pull
fi
git clean -xdf
./autogen.sh --disable-maintainer-mode --prefix=/usr --sysconfdir=/etc
make
}
package()
{
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir" install
}
# vim: set noet :