summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Pharoah2021-02-08 09:17:59 -0500
committerMatt Pharoah2021-02-08 09:27:19 -0500
commit9478e061d6dc387a9628b3f027e791776bb7d901 (patch)
tree9200dc320b5db7471ed6b0889b86d33bfc5a773a
downloadaur-9478e061d6dc387a9628b3f027e791776bb7d901.tar.gz
Alpha 7.2
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD58
-rw-r--r--blueprint64.install14
3 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..13ea9df7832
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = blueprint64
+ pkgdesc = A general-purpose ROMhacking tool for creating Super Mario 64 ROMhacks.
+ pkgver = 0.17.2
+ pkgrel = 1
+ url = https://blueprint64.ca/
+ install = blueprint64.install
+ arch = x86_64
+ license = GPL2
+ makedepends = gcc
+ makedepends = qt5-declarative
+ makedepends = make
+ depends = glibc
+ depends = libstdc++5
+ depends = gcc-libs
+ depends = qt5-base
+ depends = qt5-svg
+ depends = which
+ depends = zlib
+ source = https://gitlab.com/blueprint64/blueprint-64/uploads/092953d90ec1919c0eb7fd3cb0fc3a99/blueprint64-0.17.2.tar.gz
+ md5sums = 451f5af48d36c394c96964d72943fdc9
+
+pkgname = blueprint64
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..45efe44a559
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Matt Pharoah <mtpharoah@gmail.com>
+pkgname=blueprint64
+pkgver=0.17.2
+pkgrel=1
+epoch=
+pkgdesc='A general-purpose ROMhacking tool for creating Super Mario 64 ROMhacks.'
+arch=('x86_64')
+url='https://blueprint64.ca/'
+license=('GPL2')
+groups=()
+depends=(
+ 'glibc'
+ 'libstdc++5'
+ 'gcc-libs'
+ 'qt5-base'
+ 'qt5-svg'
+ 'which'
+ 'zlib'
+)
+makedepends=(
+ 'gcc'
+ 'qt5-declarative'
+ 'make'
+)
+optdepends=(
+ 'tar: required to load old blueprint formats'
+)
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install='blueprint64.install'
+changelog=
+source=('https://gitlab.com/blueprint64/blueprint-64/uploads/092953d90ec1919c0eb7fd3cb0fc3a99/blueprint64-0.17.2.tar.gz')
+noextract=()
+md5sums=('451f5af48d36c394c96964d72943fdc9')
+validpgpkeys=()
+
+build() {
+ qmake-qt5 app.pro -spec linux-g++
+ make
+}
+
+package() {
+ install -D blueprint64 $pkgdir/usr/bin/blueprint64
+ install -D blueprint64.desktop $pkgdir/usr/share/applications/blueprint64.desktop
+ install -D armips/armips $pkgdir/usr/share/blueprint64/armips-default
+ install -D bbp-mime.xml $pkgdir/usr/share/blueprint64/bbp-mime.xml
+ install -D data/mime/icon16.png $pkgdir/usr/share/icons/hicolor/16x16/mimetypes/application-x-bbp-blueprint.png
+ install -D data/mime/icon22.png $pkgdir/usr/share/icons/hicolor/22x22/mimetypes/application-x-bbp-blueprint.png
+ install -D data/mime/icon24.png $pkgdir/usr/share/icons/hicolor/24x24/mimetypes/application-x-bbp-blueprint.png
+ install -D data/mime/icon32.png $pkgdir/usr/share/icons/hicolor/32x32/mimetypes/application-x-bbp-blueprint.png
+ install -D data/mime/icon48.png $pkgdir/usr/share/icons/hicolor/48x48/mimetypes/application-x-bbp-blueprint.png
+ install -D data/mime/icon64.png $pkgdir/usr/share/icons/hicolor/64x64/mimetypes/application-x-bbp-blueprint.png
+}
diff --git a/blueprint64.install b/blueprint64.install
new file mode 100644
index 00000000000..86dfbeca6b6
--- /dev/null
+++ b/blueprint64.install
@@ -0,0 +1,14 @@
+post_install() {
+ xdg-icon-resource forceupdate
+ xdg-mime install /usr/share/blueprint64/bbp-mime.xml
+ update-desktop-database /usr/share/applications
+}
+
+pre_remove() {
+ xdg-mime uninstall /usr/share/blueprint64/bbp-mime.xml
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate
+ update-desktop-database /usr/share/applications
+}