summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Mulcahy2016-06-16 10:51:02 -0400
committerBrandon Mulcahy2016-06-16 11:28:04 -0400
commitf12738c87f9c23fea8c8658aa53d55771df92f9c (patch)
tree3fc1f1662fcd9a5a23079f958befb9a2ab379cbd
downloadaur-f12738c87f9c23fea8c8658aa53d55771df92f9c.tar.gz
Initial commit for -git version of package
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD44
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1968cd511db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Thu Jun 16 15:27:59 UTC 2016
+pkgbase = schismtracker-git
+ pkgdesc = A reimplementation of the Impulse Tracker music editor.
+ pkgver = r2438.55398fa
+ pkgrel = 1
+ url = http://schismtracker.org/
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = GPL
+ makedepends = git
+ depends = sdl
+ depends = gcc-libs
+ depends = libxv
+ provides = schismtracker
+ provides = schismtracker-hg
+ provides = schismtracker-cvs
+ conflicts = schismtracker
+ conflicts = schismtracker-hg
+ conflicts = schismtracker-cvs
+ source = schismtracker-git::git+https://github.com/schismtracker/schismtracker.git
+ md5sums = SKIP
+
+pkgname = schismtracker-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..88ef532d7af
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Brandon Mulcahy <brandon@jangler.info>
+pkgname=schismtracker-git
+pkgver=r2438.55398fa
+pkgrel=1
+pkgdesc='A reimplementation of the Impulse Tracker music editor.'
+arch=('i686' 'x86_64' 'armv7h') # and probably other ARMs
+url='http://schismtracker.org/'
+license=('GPL')
+depends=('sdl' 'gcc-libs' 'libxv')
+makedepends=('git')
+provides=('schismtracker' 'schismtracker-hg' 'schismtracker-cvs')
+conflicts=('schismtracker' 'schismtracker-hg' 'schismtracker-cvs')
+source=("$pkgname::git+https://github.com/schismtracker/schismtracker.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" \
+ "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd $pkgname
+ autoreconf -i
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 icons/schism-icon-128.png \
+ "$pkgdir/usr/share/icons/schism-icon-128.png"
+ install -Dm644 icons/schism-itf-icon-128.png \
+ "$pkgdir/usr/share/icons/schism-itf-icon-128.png"
+ install -Dm644 sys/fd.org/schism.desktop \
+ "$pkgdir/usr/share/applications/schism.desktop"
+ install -Dm644 sys/fd.org/itf.desktop \
+ "$pkgdir/usr/share/applications/itf.desktop"
+ install -Dm644 README.md \
+ "$pkgdir/usr/share/doc/schismtracker/README.md"
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/schismtracker/COPYING"
+}