diff options
author | Andreas Trepczik | 2015-11-28 21:04:30 +0100 |
---|---|---|
committer | Andreas Trepczik | 2015-11-28 21:04:30 +0100 |
commit | bb39b944d62a88c8042e4434ff0874dfd04bf46e (patch) | |
tree | 49c0ecab8b9840b9a88c2a5c04e8219c0bdf5cfd | |
download | aur-bb39b944d62a88c8042e4434ff0874dfd04bf46e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9d6a952a2d98 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = libretro-tgbdual-git + pkgdesc = libretro port of TGB Dual + pkgver = 69.b1bf294 + pkgrel = 1 + url = https://github.com/libretro/tgbdual-libretro + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + license = GPL2 + source = git://github.com/libretro/tgbdual-libretro.git + source = https://raw.github.com/libretro/libretro-super/master/dist/info/tgbdual_libretro.info + md5sums = SKIP + md5sums = SKIP + +pkgname = libretro-tgbdual-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..edfd13f7d847 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: bzt <unmacaque at gmail dot com> + +pkgname=libretro-tgbdual-git +_gitname=tgbdual-libretro +pkgver=69.b1bf294 +pkgrel=1 +pkgdesc="libretro port of TGB Dual" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url="https://github.com/libretro/tgbdual-libretro" +license=('GPL2') +source=("git://github.com/libretro/tgbdual-libretro.git" + "https://raw.github.com/libretro/libretro-super/master/dist/info/tgbdual_libretro.info") + +md5sums=('SKIP' + 'SKIP') + +pkgver() { + cd "${_gitname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${_gitname}" + make +} + +package() { + install -Dm644 "${srcdir}/tgbdual_libretro.info" "${pkgdir}/usr/lib/libretro/libretro-tgbdual.info" + install -Dm644 "${_gitname}/tgbdual_libretro.so" "${pkgdir}/usr/lib/libretro/libretro-tgbdual.so" +} |