summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortrash2015-06-11 12:35:42 +0200
committertrash2015-06-11 12:35:42 +0200
commit63953ff02a48d5b0d1e56fbe763886b5c7c7eab6 (patch)
tree82bfb85f4dea45d70688f1d8d7ffe6e86908aaca /PKGBUILD
downloadaur-63953ff02a48d5b0d1e56fbe763886b5c7c7eab6.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4b1601e3eb0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: trashstar <trash@ps3zone.org>
+
+pkgname=xsdm-git
+pkgver=0.1.3.beta.r20.g26f280e
+pkgrel=1
+pkgdesc="Open-source unpacker for Dreamspark's SDC format."
+arch=('i686' 'x86_64')
+url="https://github.com/v3l0c1r4pt0r/xSDM"
+license=('GPL')
+depends=('libmcrypt' 'zlib')
+makedepends=('git' 'check')
+source=('git://github.com/v3l0c1r4pt0r/xSDM')
+md5sums=('SKIP')
+
+pkgver() {
+ cd xSDM
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "${srcdir}/xSDM"
+ autoreconf
+ chmod +x ./configure
+ ./configure
+ make
+}
+
+package() {
+ cd "${srcdir}/xSDM/src"
+ install -m755 -d "${pkgdir}/usr/bin"
+ install -m755 "xsdm" "${pkgdir}/usr/bin/"
+}