blob: 98e487fd062d3e5cd8855039a36ce231d319f82f (
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
|
# Maintainer: Felix Barz <skycoder42.de@gmx.de>
pkgname=iconthemebrowser
pkgver=1.1.0
pkgrel=2
pkgdesc="A small application to browse icon themes available in Qt"
arch=('i686' 'x86_64')
url="https://github.com/Skycoder42/IconThemeBrowser"
license=('BSD')
depends=('qt5-base' 'qt5-tools')
makedepends=('git' 'qpm')
optdepends=('qt5-imageformats: Support for additional icon types'
'qt5-svg: Support for SVG-Icons')
_pkgfqn=$pkgname-$pkgver
source=("$_pkgfqn::git+https://github.com/Skycoder42/IconThemeBrowser.git#tag=$pkgver")
md5sums=('SKIP')
prepare() {
mkdir -p build
cd "$_pkgfqn"
qpm install
}
build() {
cd build
qmake -r "../$_pkgfqn/"
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
cd "../$_pkgfqn"
install -D -m644 de.skycoder42.${pkgname}.desktop "$pkgdir/usr/share/applications/de.skycoder42.${pkgname}.desktop"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|