diff options
author | Chris Simpson | 2016-01-28 22:56:27 +0000 |
---|---|---|
committer | Chris Simpson | 2016-01-28 22:56:27 +0000 |
commit | ec28d5341d5a9756b7ca7e78233fb3fb3bda313e (patch) | |
tree | ec1d0a612aade6f4a5db1694d6f147e080bd9a99 | |
download | aur-glues-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..345210eb7bc5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Thu Jan 28 22:55:58 UTC 2016 +pkgbase = glues-git + pkgdesc = GLU ES port based on original GLU 1.3 + pkgver = 7.44cb7c6 + pkgrel = 1 + url = https://github.com/lunixbochs/glues + arch = armv7h + license = custom + makedepends = git + makedepends = cmake + depends = mesa + source = git+https://github.com/lunixbochs/glues.git + md5sums = SKIP + +pkgname = glues-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e51d24e1d79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Chris Simpson <csimpson.archlinux at gmail dot com> + +pkgname=glues-git +_gitname=glues +pkgver=7.44cb7c6 +pkgrel=1 +pkgdesc='GLU ES port based on original GLU 1.3' +arch=('armv7h') +url='https://github.com/lunixbochs/glues' +license=('custom') +depends=('mesa') +makedepends=('git' 'cmake') + +source=("git+https://github.com/lunixbochs/${_gitname}.git") +md5sums=('SKIP') + +pkgver() { + cd "${_gitname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${_gitname}" + cmake . + make GLU +} + +package() { + cd "${_gitname}" + install -d "${pkgdir}"/usr/lib/${_gitname} + cp libGLU.so.1 "${pkgdir}"/usr/lib/${_gitname}/ + ln -sr "${pkgdir}"/usr/lib/${_gitname}/libGLU.so.1 "${pkgdir}"/usr/lib/${_gitname}/libGLU.so + install -d "${pkgdir}"/etc/ld.so.conf.d + echo "/usr/lib/${_gitname}" > "${pkgdir}"/etc/ld.so.conf.d/${_gitname}.conf + install -d "${pkgdir}"/usr/share/licenses/${pkgname} + cp -v LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/ +} |