blob: 75adfcd40171dee22d8f2536ceaf861de76581cb (
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: Victor A. Santos <victoraur.santos@gmail.com>
pkgname=qsubber-git
pkgver=r42.9e081aa
pkgrel=1
pkgdesc="OpenSubtitles.org client for download subtiltes"
arch=('x86' 'x86_64')
url="https://github.com/hotvic/QSubber"
license=('GPL3')
depends=('desktop-file-utils' 'qt5-base')
makedepends=('git' 'qt5-base')
install=qsubber.install
source=("$pkgname::git+https://github.com/hotvic/QSubber.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname}"
qmake-qt5 -o Makefile qsubber.pro
make
}
package() {
cd "$srcdir/${pkgname}"
install -Dm755 build/qsubber "$pkgdir/usr/bin/qsubber"
install -Dm644 data/qsubber.desktop "$pkgdir/usr/share/applications/qsubber.desktop"
}
|