Package Details: lxrad-git v0.8.9.r39.g21838bc-3

Git Clone URL: https://aur.archlinux.org/lxrad-git.git (read-only, click to copy)
Package Base: lxrad-git
Description: linux x11 rad tools
Upstream URL: https://github.com/lcgamboa/lxrad
Keywords: lxrad
Licenses: GPL2
Conflicts: lxrad
Provides: lxrad
Submitter: yjun
Maintainer: yjun
Last Packager: yjun
Votes: 0
Popularity: 0.000000
First Submitted: 2021-02-04 08:31 (UTC)
Last Updated: 2024-01-04 14:13 (UTC)

Dependencies (4)

Required by (1)

Sources (1)

Latest Comments

yjun commented on 2024-01-04 14:14 (UTC)

@jjgui thanks!

jjguti commented on 2022-09-06 15:31 (UTC)

This patch fixes building with newer arch where wxgtk2 has been removed. It also builds and install the layout tool. It mimics the change I did to the lxrad AUR package.

diff --git a/PKGBUILD b/PKGBUILD
index 040ae68..95fea7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,21 @@

 pkgname=lxrad-git
 _gitname=${pkgname%-git}
-pkgver=v0.8.r93.g1d5ba7a
-pkgrel=2
+pkgver=v0.8.9.r25.g1aada35
+pkgrel=1
 pkgdesc="linux x11 rad tools"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url='https://github.com/lcgamboa/lxrad'
 license=('GPL2')
-provides=("${pkgname%-git}")
-conflicts=("${pkgname%-git}")
 makedepends=('doxygen'
-             'git'
              'openal'
-             'wxgtk2')
-source=("git+https://github.com/lcgamboa/lxrad")
+             'git'
+             'wxwidgets-gtk3')
+depends=()
+source=("git+$url")
 sha256sums=('SKIP')
+conflicts=('lxrad')
+provides=('lxrad')

 pkgver() {
   cd "$_gitname"
@@ -23,27 +24,24 @@ pkgver() {
   git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

-prepare() {
-  cd "$_gitname"
-
-  sed -i '31s|#include<lxrad/lxrad.h>|#include "../include/lxrad.h"|' layout/layout2.h
-}
-
 build() {
-  cd "$_gitname"
+  cd "${_gitname}"

+  sh make_deps.sh
   autoupdate
   autoreconf --install

   ./configure --prefix=/usr
-  make
+  make all
+  make -C layout
 }

 package() {
-  cd "$_gitname"
+  cd "${_gitname}"

-  install -dm755 ${pkgdir}/usr/lib \
-                ${pkgdir}/usr/bin
+  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
 }