blob: 89408b573bf082c9c750e2812326d7d9dc1533b2 (
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
|
pkgname=hydroid-git
pkgver=1.0.0.alpha1.r3.gc78157d
pkgrel=1
pkgdesc="A Hydrus client."
arch=('i686' 'x86_64')
url="https://gitgud.io/thatfuckingbird/hydroid"
license=('AGPL3')
depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-graphicaleffects' 'qt5-imageformats')
makedepends=('qt5-tools')
provides=('hydroid')
source=("$pkgname"::"git+https://gitgud.io/thatfuckingbird/hydroid.git")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
qmake
make
}
package() {
cd "$srcdir/$pkgname"
make INSTALL_ROOT=${pkgdir} install
install -Dm644 "distrib/linux/icon.png" "${pkgdir}/usr/share/icons/hydroid.png"
install -Dm644 "distrib/linux/hydroid.desktop" "${pkgdir}/usr/share/applications/hydroid.desktop"
}
|