blob: 9f65e19d59ce5f31dacdee2299d5de45139b9c36 (
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
|
# Maintainer: Luna Jernberg <lunajernberg@gnome.org>
pkgname=aa-radio
pkgver=0.1.0
pkgrel=1
pkgdesc="Listen to Radio via CLI"
arch=('x86_64')
url="https://www.gnomeradio.org"
license=(GPL-3.0-only)
depends=('libchamplain' 'geoclue' 'gst-plugins-base' 'gst-plugins-bad' 'geocode-glib-2')
makedepends=('intltool' 'itstool' 'python')
source=(https://www.aamot.org/software/aa-radio-0.1.0.tar.xz)
sha256sums=('2155ea4843f51950aeccbdf93d1222814085fb9011ababe46479ecfae4080a07')
prepare() {
cd $pkgname-$pkgver
# https://gitlab.gnome.org/ole/gnome-radio/-/issues/4
sed -i 's|geocode-glib-1.0|geocode-glib-2.0|' configure
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --with-recording
make
}
check(){
cd $pkgname-$pkgver
make check -k
}
package(){
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|