blob: 36efeef28bd1eed36bdf25c01d35ba839e6d259a (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Riley Trautman <asonix.dev@gmail.com>
_pkgname=shticker-book-rewritten
pkgname=$_pkgname-git
pkgver=v1.0.3.14.g79ac20d
pkgrel=1
pkgdesc="Custom launcher and tool for the Toontown Rewritten MMORPG"
url="https://github.com/madsciencecoder/Shticker-Book-Rewritten"
arch=('i686' 'x86_64')
license=('GPL')
depends=('bzip2' 'qt5-base' 'qt5-webengine')
makedepends=('git' 'gcc')
provides=('shticker-book-rewritten')
conflicts=('shticker-book-rewritten')
source=("$_pkgname::git+https://github.com/madsciencecoder/Shticker-Book-Rewritten")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags |sed 's/-/./g'
}
prepare() {
cd "$srcdir/$_pkgname"
git submodule init
git submodule update
qmake
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install
install -m644 -D LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -m644 -D README.md \
"$pkgdir/usr/share/doc/$pkgname/README"
install -m644 -D shticker-book-rewritten.desktop \
"$pkgdir/usr/share/applications/shticker-book-rewritten.desktop"
}
# vim:set ts=2 sw=2 et:
|