blob: dba7992f8459c40c072577e75638366f311c0a6f (
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
|
# Maintainer: Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
pkgname=mpristester-git
pkgver=r62.a1edbd4
pkgrel=1
pkgdesc="Tester for MPRIS2 clients functionality"
arch=('i686' 'x86_64')
url="https://github.com/randomguy3/mpristester"
license=('custom:unknown')
depends=(
qt5-base
)
makedepends=(git)
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=("${pkgname%-git}::git+https://github.com/randomguy3/mpristester.git")
sha1sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}"
mkdir -p build
}
build() {
cd "$srcdir/${pkgname%-git}"
cd build
qmake ..
make
}
package() {
cd "$srcdir/${pkgname%-git}"
cd build
install -D -m755 mpristester "$pkgdir/usr/bin/mpristester"
}
# vim:set ts=2 sw=2 et:
|