qubes-linux-utils/archlinux/PKGBUILD

52 lines
1.0 KiB
Bash

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Olivier Medoc <o_medoc@yahoo.fr>
pkgname=qubes-vm-utils
pkgver=`cat version`
pkgrel=3
epoch=
pkgdesc="Common Linux files for Qubes VM."
arch=("x86_64")
url="http://qubes-os.org/"
license=('GPL')
groups=()
depends=(qubes-libvchan imagemagick python2-cairo)
makedepends=(gcc make pkgconfig 'qubes-libvchan')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=('staticlibs')
install=PKGBUILD-qubes-vm-utils.install
changelog=
source=()
noextract=()
md5sums=() #generate with 'makepkg -g'
build() {
for source in qrexec-lib udev qmemman core Makefile; do
(ln -s $srcdir/../$source $srcdir/$source)
done
make all
}
package() {
make install DESTDIR=$pkgdir LIBDIR=/usr/lib SYSLIBDIR=/usr/lib SBINDIR=/usr/bin
}
# vim:set ts=2 sw=2 et: