blob: 7ad99273556df133f7ff28b8a45838af037baa96 (
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
|
# Maintainer: Helder Bertoldo <helder.bertoldo@gmail.com>
# Contributor:
_gitname=raddiu
_author=ranfdev
pkgname=("${_gitname}-git")
pkgver=r51.729f8f8
pkgrel=1
pkgdesc="Radio program for GNU/Linux made in gtk3 designed for Pantheon Shell"
arch=('i686' 'x86_64')
url="https://github.com/${_author}/${_gitname}"
license=('GPL3')
depends=('gtk3' 'granite' 'gdk-pixbuf2' 'glib2>=2.20' 'libsoup' 'json-glib' 'mpv')
optdepends=('lib32-json-glib')
makedepends=('git' 'meson' 'ninja' 'vala')
provides=("${_gitname}")
conflicts=("${_gitname}")
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "${_gitname}/"
meson . _build --prefix=/usr
ninja -C _build
}
package() {
cd "${_gitname}/"
DESTDIR="${pkgdir}" ninja -C _build install
}
|