blob: 329560e4129b161224f37ab0ac586c444ac60c47 (
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
|
# Maintainer: Steffen Hansen <steffengrundsoe@gmail.com>
pkgname=quickgui
pkgver=1.2.10
pkgrel=1
pkgdesc="A Flutter frontend for quickget and quickemu"
arch=('x86_64')
url="https://github.com/quickgui/quickgui"
license=('unknown')
depends=('quickemu' 'zenity')
makedepends=('flutter-target-linux' 'cmake' 'ninja' 'clang')
provides=("$pkgname")
conflicts=("$pkgname")
source=("$pkgname-$pkgver.tar.xz"::"https://github.com/quickemu-project/quickgui/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('0acdf2af4f5ad463683679247dd79d25150efa7619a8d4a7c0a5baaec12f0555')
build() {
cd "$pkgname-$pkgver"
flutter build linux --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 build/linux/x64/release/bundle/quickgui "$pkgdir/opt/$pkgname/quickgui"
install -Dm644 assets/resources/quickgui.desktop "${pkgdir}/usr/share/applications/quickgui.desktop"
install -Dm644 assets/resources/quickgui_512.png "${pkgdir}/usr/share/icons/quickgui_512.png"
cp -R build/linux/x64/release/bundle/data "$pkgdir/opt/$pkgname"
cp -R build/linux/x64/release/bundle/lib "$pkgdir/opt/$pkgname"
install -d "$pkgdir/usr/bin/"
ln -s /opt/$pkgname/quickgui "$pkgdir/usr/bin/quickgui"
}
|