1 # This is an example of a PKGBUILD for splitting packages. Use this as a
2 # start to creating your own, and remove these comments. For more information,
3 # see 'man PKGBUILD'. NOTE: Please fill out the license field for your package!
4 # If it is unknown, then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
7 pkgname=('pkg1' 'pkg2')
24 source=($pkgbase-$pkgver.tar.gz)
26 md5sums=() #generate with 'makepkg -g'
29 cd "$srcdir/$pkgbase-$pkgver"
30 ./configure --prefix=/usr
35 # options and directives that can be overridden
48 cd "$srcdir/$pkgbase-$pkgver"
49 make DESTDIR="$pkgdir/" install-pkg1
53 # options and directives overrides
56 cd "$srcdir/$pkgbase-$pkgver"
57 make DESTDIR="$pkgdir/" install-pkg2