updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / grub-customizer / PKGBUILD
blob3694ff37b160b8ec8e2e589eea569331a6fb1cee
1 # Maintainer: eBait <info@ebait.org>
3 pkgname=grub-customizer
4 pkgver=70
5 pkgrel=1
6 pkgdesc="GUI for customizing GRUB2 or BURG"
7 url="https://launchpad.net/grub-customizer"
8 arch=('i686' 'x86_64')
9 license=("GPL3")
10 groups=()
11 depends=('cmake' 'gettext' 'gtkmm')
12 optdepends=()
13 makedepends=('bzr')
14 provides=(grub-customizer)
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=()
21 noextract=()
22 md5sums=()
24 _bzrmod=grub-customizer
25 _bzrtrunk=lp:${_bzrmod}
27 build() {
28 cd $srcdir/
30 msg "Connecting to the server..."
31 if [ ! -d ./${_bzrmod} ]; then
32 bzr branch ${_bzrtrunk} -r ${pkgver}
33 else
34 cd ${_bzrmod} && bzr pull -r ${pkgver}
36 msg "BZR checkout done or server timeout."
38 cd "${srcdir}/${_bzrmod}"
40 msg "Starting make..."
41 cmake .&& make
42 make install DESTDIR=$pkgdir || return 1
44 msg "Moving some files for the Arch Packaging Standards..."
45 cd $pkgdir/usr/local/
46 mv bin $pkgdir/usr
47 mv lib $pkgdir/usr
48 cd share
49 mv * $pkgdir/usr/share
50 cd $pkgdir/usr
51 rm local -R