blob: f6a002ab67bb9335e7d300b6c469d742ed17c147 (
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
|
# Maintainer: Juanjo Gutierrez <juanjo at gutierrezdequevedo dot com>
pkgname=lxrad
pkgver=0.8.9
pkgrel=3
pkgdesc="linux x11 rad tools"
arch=('x86_64' 'aarch64')
url='https://github.com/lcgamboa/lxrad'
license=('GPL2')
makedepends=('doxygen'
'openal'
'wxwidgets-gtk3')
depends=('lunasvg')
source=("$url/archive/refs/tags/v$pkgver.tar.gz"
'0001-use-systems-lunasvg.patch')
sha256sums=('63c89cc3253823c20aaaf38543eb5682362b76b187cef86a725e23343ba8b77f'
'a2d3583ca4865393382de5298cfe8f0fcba0aafc76cfbfdb9fbcadb8887722c3')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 < ../0001-use-systems-lunasvg.patch
}
build() {
cd "$pkgname-$pkgver"
autoupdate
autoreconf --install
./configure --prefix=/usr
make all
make -C layout
}
package() {
cd "$pkgname-$pkgver"
install -d -m 755 "$pkgdir/usr/lib"
install -d -m 755 "$pkgdir/usr/bin"
make install prefix="$pkgdir/usr"
make install prefix="$pkgdir/usr" -C layout
}
|