summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheEssem2020-06-18 22:30:17 -0500
committerTheEssem2020-06-18 22:30:17 -0500
commit1f98c8d3a5e9c0b280c2d46855813614ba19f3d9 (patch)
tree5fc0a425533639fa5eb4dcac6b650eb3ea106a05
downloadaur-1f98c8d3a5e9c0b280c2d46855813614ba19f3d9.tar.gz
First commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD34
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ca22dcf094b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = goattracker-ubuntu-bin
+ pkgdesc = Crossplatform C64 music tracker (Ubuntu-based prebuilt package)
+ pkgver = 2.75
+ pkgrel = 1
+ url = http://sourceforge.net/projects/goattracker2/
+ arch = x86_64
+ license = GPL
+ depends = sdl
+ conflicts = goattracker
+ replaces = goattracker
+ source = http://archive.ubuntu.com/ubuntu/pool/universe/g/goattracker/goattracker_2.75-3build1_amd64.deb
+ md5sums = 0042f11a8aeb6c0e7be8ca3d26268f05
+
+pkgname = goattracker-ubuntu-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6a918b2dc6f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Essem <smswessem at gmail dot com>
+
+pkgname=goattracker-ubuntu-bin
+pkgver=2.75
+pkgrel=1
+pkgdesc="Crossplatform C64 music tracker (Ubuntu-based prebuilt package)"
+arch=('x86_64')
+url="http://sourceforge.net/projects/goattracker2/"
+license=('GPL')
+depends=('sdl')
+conflicts=('goattracker')
+replaces=('goattracker')
+source=("http://archive.ubuntu.com/ubuntu/pool/universe/g/${pkgname%-ubuntu-bin}/${pkgname%-ubuntu-bin}_${pkgver}-3build1_amd64.deb")
+md5sums=('0042f11a8aeb6c0e7be8ca3d26268f05')
+
+package()
+{
+ mkdir -p "${pkgdir}/usr/bin"
+ mkdir -p "${pkgdir}/usr/lib/goattracker"
+ mkdir -p "${pkgdir}/usr/share/goattracker"
+ mkdir -p "${pkgdir}/usr/share/applications"
+ mkdir -p "${pkgdir}/usr/share/icons"
+
+ tar xf "${srcdir}/data.tar.xz"
+
+ install -Dm755 "${srcdir}/usr/bin/goattracker" "${pkgdir}/usr/bin/"
+ install -Dm755 ${srcdir}/usr/lib/goattracker/{ins2snd2,mod2sng,sngspli2} "${pkgdir}/usr/bin/"
+
+ install -Dm644 "${srcdir}/usr/share/applications/goattracker.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "${srcdir}/usr/share/icons/goattrk2.xpm" "${pkgdir}/usr/share/icons/"
+ install -d "${srcdir}/usr/share/doc/goattracker/examples" "${pkgdir}/usr/share/goattracker/"
+ install -Dm644 "${srcdir}/usr/share/doc/goattracker/goat_tracker_commands.pdf.gz" "${pkgdir}/usr/share/goattracker/"
+ install -Dm644 "${srcdir}/usr/share/doc/goattracker/readme.txt.gz" "${pkgdir}/usr/share/goattracker/README"
+}