diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-10 00:23:32 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-10 00:23:32 -0200 |
commit | f4d176fd5c721adaf758217a43042b365c32dd52 (patch) | |
tree | 06447472b56b8a62b6b984037e3821f701e012d8 | |
parent | 2b0b30886d1d5128782dbce1acc48361865f116e (diff) | |
download | abslibre-f4d176fd5c721adaf758217a43042b365c32dd52.tar.gz abslibre-f4d176fd5c721adaf758217a43042b365c32dd52.tar.bz2 abslibre-f4d176fd5c721adaf758217a43042b365c32dd52.zip |
mesa-demos-libre: add mksource
-rw-r--r-- | libre/mesa-demos-libre/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/libre/mesa-demos-libre/PKGBUILD b/libre/mesa-demos-libre/PKGBUILD index edba07203..be60d2008 100644 --- a/libre/mesa-demos-libre/PKGBUILD +++ b/libre/mesa-demos-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname='mesa-demos-libre' pkgver=8.1.0 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') pkgdesc="Mesa demos and tools, without nonfree demos" url="http://mesa3d.sourceforge.net" license=('custom') @@ -14,19 +14,25 @@ depends=('libgl' 'glew') provides=("mesa-demos=$pkgver") replaces=('mesa-demos') conflicts=('mesa-demos') -source=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2" - 'LICENSE' - 'mesa-demos-libre.patch') -sha256sums=('9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828' - '7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2' +mksource=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2" + 'mesa-demos-libre.patch') +source=("https://repo.parabolagnulinux.org/sources/mesa-demos-libre-${pkgver}.tar.bz2" + 'LICENSE') +mksha256sums=('9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828' + '476f58fc62e9074936643b0d61165c5160a6d5aed082e60c10b39d219f56913f') +sha256sums=('d2678138f7ff4a684a6d851f1086fd7baf4ee321ef65531063b072632c2c504b' '476f58fc62e9074936643b0d61165c5160a6d5aed082e60c10b39d219f56913f') -build() { +mksource() { cd "${srcdir}/mesa-demos-${pkgver}" # Remove nonfree demos (pointblast and spriteblast) rm -v src/demos/{pointblast,spriteblast}.c patch -Np1 -i "${srcdir}/mesa-demos-libre.patch" +} + +build() { + cd "${srcdir}/mesa-demos-${pkgver}" ./configure --prefix=/usr make |