blob: 781122ebaa6c6c9641d942cded143051a7025774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: TheSupremist aka supremesonicbrazil <supreminho2 at gmail dot com>
pkgname=gbml-git
_pkgname='GBML'
replaces=('slsk-git')
pkgver=v1.4.0.0.r0.ge008c50
pkgrel=1
pkgdesc="Backup utility and database for Linux Steam games"
arch=('x86_64')
url="https://gitlab.com/supremesonicbrazil/GBML"
license=('GPL3')
depends=('qt5-base>=5.5.0')
makedepends=('git' 'sqlite>=3.0')
source=("git+https://gitlab.com/supremesonicbrazil/GBML")
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${_pkgname}
./BUILD.sh
}
package() {
cd ${_pkgname}
install -Dm755 ./bin/gbml "$pkgdir"/usr/bin/gbml
install -Dm644 ./bin/SteamLinuxGames.db "$pkgdir"/usr/share/gbml/SteamLinuxGames.db
install -Dm644 ./bin/gaming-backup-multitool-linux.desktop "$pkgdir"/usr/share/applications/gaming-backup-multitool-linux.desktop
cp -r ./img "$pkgdir"/usr/share/gbml
}
|