From 4d222a0b0d2b190bedce59bec572e5d69b473bdb Mon Sep 17 00:00:00 2001 From: Louis-Guillaume Gagnon Date: Tue, 9 Jul 2013 11:10:30 -0400 Subject: [PATCH] base: ajoute un PKGBUILD prototype --- base/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 base/PKGBUILD diff --git a/base/PKGBUILD b/base/PKGBUILD new file mode 100644 index 0000000..4862945 --- /dev/null +++ b/base/PKGBUILD @@ -0,0 +1,27 @@ +pkgname= +pkgver= +pkgrel=1 +arch=('x86_64') +source=( +md5sums=() + +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-fixes-1.patch +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} -- 2.11.4.GIT