diff options
author | Quentin Barbarat | 2020-07-15 19:44:04 +0200 |
---|---|---|
committer | Quentin Barbarat | 2020-07-15 19:44:04 +0200 |
commit | e6f86f5f69d716945b5d6317430191bcafb3d022 (patch) | |
tree | e49bfcd870c14bcf586cf4621f918e7c458b2722 | |
download | aur-e6f86f5f69d716945b5d6317430191bcafb3d022.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | gba-tileeditor.desktop | 9 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..41a81af4e279 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = gba-tileeditor + pkgdesc = A Gameboy Advance tile editor + pkgver = 0.0.10 + pkgrel = 1 + url = https://github.com/quentin-dev/gba-tileeditor + arch = x86_64 + license = MIT + makedepends = qt5-base + makedepends = git + makedepends = make + depends = qt5-base + source = gba-tileeditor::git+https://github.com/quentin-dev/gba-tileeditor#branch=master + source = gba-tileeditor.desktop + md5sums = SKIP + md5sums = 6180eaeb3698e6db5fe1b95a2e2e4be1 + +pkgname = gba-tileeditor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cc28c819b6a5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Quentin Barbarat <q DOT barbarat AT gmail DOT com> +pkgname=gba-tileeditor +url="https://github.com/quentin-dev/gba-tileeditor" +_gitname=gba-tileeditor +pkgver=0.0.10 +pkgrel=1 +pkgdesc="A Gameboy Advance tile editor" +arch=(x86_64) +license=('MIT') +depends=('qt5-base') +makedepends=('qt5-base' 'git' 'make') +source=("$pkgname::git+https://github.com/quentin-dev/gba-tileeditor#branch=master" "gba-tileeditor.desktop") +md5sums=("SKIP" "6180eaeb3698e6db5fe1b95a2e2e4be1") + +pkgver() { + cd "${srcdir}/${pkgname}" + git describe --tags $(git rev-list --tags --max-count=1) | tail -c +2 +} + +build() { + cd "${srcdir}/${pkgname}" + git checkout "v${pkgver}" + qmake gba-tileeditor-client/gba-tileeditor-client.pro + make +} + +package() { + install -D -m 644 gba-tileeditor.desktop ${pkgdir}/usr/share/applications/gba-tileeditor.desktop + cd "${srcdir}/${pkgname}" + install -D -m 755 gba-tileeditor ${pkgdir}/usr/bin/gba-tileeditor +}
\ No newline at end of file diff --git a/gba-tileeditor.desktop b/gba-tileeditor.desktop new file mode 100644 index 000000000000..c5f1e3bb8a9a --- /dev/null +++ b/gba-tileeditor.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=GBA Tile Editor +GenericName=GBA Tile Editor +Comment=Qt-based tile editor for GBA +Exec=gba-tileeditor +Terminal=false +Categories=Development;Qt;
\ No newline at end of file |