diff options
author | rophil | 2018-10-08 22:59:42 +0200 |
---|---|---|
committer | rophil | 2018-10-08 22:59:42 +0200 |
commit | 1d25087097c69a0375c10643da73091a84fa89ba (patch) | |
tree | 9de6f62b81e11b8e9b8d15b0bd0e5ccdde1e3a93 | |
download | aur-1d25087097c69a0375c10643da73091a84fa89ba.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c2d641620e76 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = gm-companion + pkgdesc = A tool for rpg gamemasters. + pkgver = 1.0.0.0 + pkgrel = 1 + url = https://gm-companion.github.io/ + arch = x86_64 + arch = i686 + license = GPL3 + makedepends = gendesk + depends = qt5-declarative>=5.10.0, + depends = qt5-multimedia>=5.10.0, + depends = qt5-networkauth>=5.10.0, + depends = qt5-quickcontrols2>=5.10.0, + depends = taglib + conflicts = gm-companion-git + source = https://github.com/PhilInTheGaps/GM-Companion/archive/1.0.0.0.tar.gz + source = https://raw.githubusercontent.com/PhilInTheGaps/GM-Companion/ubuntu-build/data/share/gm-companion/icon256.png + md5sums = f9c277a3814391ab2fd8b0e4648454d7 + md5sums = 877a226689a5edaee3ecfdaf767ded9d + +pkgname = gm-companion + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c09109ee3cbf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Phil Hoffmann <phil dot hoffmann at zoho dot eu> + +pkgname=gm-companion +pkgver=1.0.0.0 +pkgrel=1 +pkgdesc="A tool for rpg gamemasters." +url="https://gm-companion.github.io/" +arch=('x86_64' 'i686') +license=('GPL3') +depends=('qt5-declarative>=5.10.0', 'qt5-multimedia>=5.10.0', 'qt5-networkauth>=5.10.0', 'qt5-quickcontrols2>=5.10.0', 'taglib') +makedepends=('gendesk') +conflicts=('gm-companion-git') +source=("https://github.com/PhilInTheGaps/GM-Companion/archive/${pkgver}.tar.gz" "https://raw.githubusercontent.com/PhilInTheGaps/GM-Companion/ubuntu-build/data/share/gm-companion/icon256.png") +md5sums=('f9c277a3814391ab2fd8b0e4648454d7' + '877a226689a5edaee3ecfdaf767ded9d') + +prepare() { + gendesk -n -f --name='GM-Companion' --pkgname "$pkgname" --pkgdesc "$pkgdesc" +} + +build() { + cd "${srcdir}/GM-Companion-${pkgver}" + qmake + make PREFIX=/usr + +} + +package() { + # Install main binary + cd "${srcdir}/GM-Companion-${pkgver}" + make INSTALL_ROOT="$pkgdir" install + + # Desktop Entry + install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + + # Icon + install -Dm644 "$srcdir/icon256.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" +} + |