From dee01a30655503b223fc2144e969d3c1445cbdb9 Mon Sep 17 00:00:00 2001 From: Broshward Date: Wed, 5 Apr 2023 06:17:05 +0300 Subject: [PATCH 1/8] gphotofs, spacefm and glmark2 PKGBUILDs create --- aur/gphotofs/PKGBUILD | 36 ++++++++++++++++++++++ aur/spacefm/PKGBUILD | 62 ++++++++++++++++++++++++++++++++++++++ community/glmark2/PKGBUILD | 32 ++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 aur/gphotofs/PKGBUILD create mode 100644 aur/spacefm/PKGBUILD create mode 100644 community/glmark2/PKGBUILD diff --git a/aur/gphotofs/PKGBUILD b/aur/gphotofs/PKGBUILD new file mode 100644 index 0000000000..16f817467b --- /dev/null +++ b/aur/gphotofs/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Alex Natallson +# +pkgname=gphotofs +pkgver=0.5 +pkgrel=3 +pkgdesc="FUSE filesystem module to mount your camera as a filesystem on Linux." +arch=('aarch64') +url="http://www.gphoto.org/proj/gphotofs/" +license=('GPL2') +depends=('fuse' 'glib2' 'libgphoto2') +makedepends=('pkgconfig') +source=("http://downloads.sourceforge.net/sourceforge/gphoto/gphotofs-${pkgver}.tar.bz2" + "https://git.savannah.gnu.org/cgit/config.git/plain/config.guess" + "https://git.savannah.gnu.org/cgit/config.git/plain/config.sub" +) +sha256sums=('676ec4de69a81c193ffc31bdc7b587ac2a2cc3780b14f0e7c9c4c0a517b343cc' + 'd4b8b6815be8fe5eee29a72e6272ee2a67cfdd0e43f438c8ee2b33570335dc3d' + '71b8d73e46e0c31b1dc91ba5306f5ef0af009273b3bb283f31d8dad69666fa9e' +) + +prepare() { + cd "${srcdir}/gphotofs-${pkgver}" + cp ../config.guess auto-aux/ + cp ../config.sub auto-aux/ +} + +build() { + cd "${srcdir}/gphotofs-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/gphotofs-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/aur/spacefm/PKGBUILD b/aur/spacefm/PKGBUILD new file mode 100644 index 0000000000..fd75b18e19 --- /dev/null +++ b/aur/spacefm/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Alex Natallson +# Contributor: Janne Heß +# Contributor: Bartłomiej Piotrowski +# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/ +# Contributor: ridikulus_rat + +pkgname=spacefm +pkgver=1.0.6 +pkgrel=3 +pkgdesc='Multi-panel tabbed file manager' +arch=(aarch64) +url="https://ignorantguru.github.io/spacefm/" +license=(GPL3) +depends=(gtk3 startup-notification ffmpegthumbnailer) +makedepends=(intltool) +optdepends=('dbus: dbus integration' + 'util-linux: disk eject support' + 'lsof: device processes' + 'wget: plugin download' + 'gksu: perform as root functionality' + 'udevil: mount as non-root user and mount networks' + 'udisks2: mount as non-root user' + 'pmount: mount as non-root user' + 'curlftpfs: mount FTP shares' + 'jmtpfs: mount MTP devices' + 'gphotofs: mount cameras' + 'ifuse: mount your iPhone/iPod Touch' + 'fuseiso: mount ISO files') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/IgnorantGuru/spacefm/archive/${pkgver}.tar.gz" + "https://github.com/FabioLolix/AUR-artifacts/raw/master/spacefm-Fix-GCC-10-build.patch" + "https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/spacefm-glibc-2.28-compatibility.patch" + "https://git.savannah.gnu.org/cgit/config.git/plain/config.guess" + "https://git.savannah.gnu.org/cgit/config.git/plain/config.sub" +) +sha256sums=('fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9' + '16622d0d56c40e87e846a81709d9c2c8303f189e53a783bf20ccdb57b8f9465f' + '12411055df994211d2968cb52746b6caefce6926aed1ed33b542bd70b571ce7e' + 'd4b8b6815be8fe5eee29a72e6272ee2a67cfdd0e43f438c8ee2b33570335dc3d' + '71b8d73e46e0c31b1dc91ba5306f5ef0af009273b3bb283f31d8dad69666fa9e' + ) + +prepare() { + cd "$srcdir/${pkgname}-${pkgver}" + patch -Np1 -i ../spacefm-glibc-2.28-compatibility.patch + patch -Np1 -i ../spacefm-Fix-GCC-10-build.patch + cp ../config.guess . + cp ../config.sub . +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --with-gtk3 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "$pkgdir"/usr/bin/spacefm-installer +} diff --git a/community/glmark2/PKGBUILD b/community/glmark2/PKGBUILD new file mode 100644 index 0000000000..d9b33f4d71 --- /dev/null +++ b/community/glmark2/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Alex Natallson +# Contributor: farseerfc +pkgname=glmark2 +pkgver=2023.01 +pkgrel=1 +pkgdesc="An OpenGL 2.0 and ES 2.0 benchmark" +arch=('x86_64' 'aarch64') +url="https://github.com/glmark2/glmark2" +license=('GPL3' 'custom') +depends=('egl-wayland' 'libjpeg-turbo' 'libpng' 'libx11' 'systemd-libs') +makedepends=('meson' 'systemd' 'mesa' 'wayland-protocols') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('8fece3fc323b643644a525be163dc4931a4189971eda1de8ad4c1712c5db3d67') + +build() { + arch-meson "$pkgname-$pkgver" build \ + -Dflavors=drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2 + meson compile -C build +} + +# No tests defined +#check() { +# meson test -C build --print-errorlogs +#} + +package() { + meson install -C build --destdir "$pkgdir" + + cd "$pkgname-$pkgver" + install -Dm644 COPYING.SGI -t "$pkgdir/usr/share/licenses/$pkgname" +} + From d6ed4a10dfaa19702507878692dafccb02b70a8c Mon Sep 17 00:00:00 2001 From: Broshward Date: Wed, 5 Apr 2023 10:15:32 +0300 Subject: [PATCH 2/8] buildarch variable added --- aur/gphotofs/PKGBUILD | 1 + aur/spacefm/PKGBUILD | 1 + community/glmark2/PKGBUILD | 1 + 3 files changed, 3 insertions(+) diff --git a/aur/gphotofs/PKGBUILD b/aur/gphotofs/PKGBUILD index 16f817467b..62b88ab57d 100644 --- a/aur/gphotofs/PKGBUILD +++ b/aur/gphotofs/PKGBUILD @@ -8,6 +8,7 @@ arch=('aarch64') url="http://www.gphoto.org/proj/gphotofs/" license=('GPL2') depends=('fuse' 'glib2' 'libgphoto2') +buildarch=8 makedepends=('pkgconfig') source=("http://downloads.sourceforge.net/sourceforge/gphoto/gphotofs-${pkgver}.tar.bz2" "https://git.savannah.gnu.org/cgit/config.git/plain/config.guess" diff --git a/aur/spacefm/PKGBUILD b/aur/spacefm/PKGBUILD index fd75b18e19..72df761e4d 100644 --- a/aur/spacefm/PKGBUILD +++ b/aur/spacefm/PKGBUILD @@ -9,6 +9,7 @@ pkgver=1.0.6 pkgrel=3 pkgdesc='Multi-panel tabbed file manager' arch=(aarch64) +buildarch=8 url="https://ignorantguru.github.io/spacefm/" license=(GPL3) depends=(gtk3 startup-notification ffmpegthumbnailer) diff --git a/community/glmark2/PKGBUILD b/community/glmark2/PKGBUILD index d9b33f4d71..7ecee2e091 100644 --- a/community/glmark2/PKGBUILD +++ b/community/glmark2/PKGBUILD @@ -5,6 +5,7 @@ pkgver=2023.01 pkgrel=1 pkgdesc="An OpenGL 2.0 and ES 2.0 benchmark" arch=('x86_64' 'aarch64') +buildarch=8 url="https://github.com/glmark2/glmark2" license=('GPL3' 'custom') depends=('egl-wayland' 'libjpeg-turbo' 'libpng' 'libx11' 'systemd-libs') From 630c0bc1e4e2c6105ee079db7f2ead29656de9a2 Mon Sep 17 00:00:00 2001 From: Broshward Date: Fri, 28 Apr 2023 14:02:55 +0300 Subject: [PATCH 3/8] arm-none-eabi-toolchain-bin --- aur/arm-none-eabi-toolchain-bin/PKGBUILD | 23 +++++++++ aur/ncurses5-compat-libs/PKGBUILD | 65 ++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 aur/arm-none-eabi-toolchain-bin/PKGBUILD create mode 100644 aur/ncurses5-compat-libs/PKGBUILD diff --git a/aur/arm-none-eabi-toolchain-bin/PKGBUILD b/aur/arm-none-eabi-toolchain-bin/PKGBUILD new file mode 100644 index 0000000000..b459e44711 --- /dev/null +++ b/aur/arm-none-eabi-toolchain-bin/PKGBUILD @@ -0,0 +1,23 @@ +# Mantainer: Alex Natalsson + +buildarch=8 +_target='arm-none-eabi' +pkgname=${_target}'-toolchain-bin' +pkgver=12.2.rel +#compile_date=2021.10 +pkgrel=1 +pkgdesc="The GNU Compiler Collection Toolchain for (${_target})" +arch=('aarch64') +license=('GPL') +url="https://developer.arm.com/" +depends=('ncurses5-compat-libs') +source=("https://developer.arm.com/-/media/Files/downloads/gnu/${pkgver}${pkgrel}/binrel/arm-gnu-toolchain-${pkgver}${pkgrel}-${arch}-${_target}.tar.xz") +#https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-aarch64-arm-none-eabi.tar.xz?rev=04bfc790b30b477fab2621438ab231a7&hash=31BC9F062982D1A76B7ABC2353824AB573AE00C4 +sha256sums=('7ee332f7558a984e239e768a13aed86c6c3ac85c90b91d27f4ed38d7ec6b3e8c') + +#prepere() { +#} +package() { + mkdir -p ${pkgdir}/usr/local/ + cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}${pkgrel}-${arch}-${_target}/* ${pkgdir}/usr/local/ +} diff --git a/aur/ncurses5-compat-libs/PKGBUILD b/aur/ncurses5-compat-libs/PKGBUILD new file mode 100644 index 0000000000..cc22fc07eb --- /dev/null +++ b/aur/ncurses5-compat-libs/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Alex Natalsson +# Maintainer: Bartłomiej Piotrowski +# Maintainer: Mateusz Gozdek +# Contributor: Allan McRae +# Contributor: judd + +buildarch=8 +pkgname=ncurses5-compat-libs +_pkgname=ncurses +pkgver=6.4 +pkgrel=2 +pkgdesc='System V Release 4.0 curses emulation library, ABI 5' +arch=(aarch64) +url='http://invisible-island.net/ncurses/ncurses.html' +license=(MIT) +depends=(glibc gcc-libs sh) +provides=(libtinfo5) +conflicts=(libtinfo5) +source=(https://ftp.gnu.org/pub/gnu/ncurses/ncurses-$pkgver.tar.gz) +sha256sums=('6931283d9ac87c5073f30b6290c4c75f21632bb4fc3603ac8100812bed248159' + ) +#validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey + +prepare() { + cp -r ${_pkgname}-${pkgver}{,-no-widec} +} + +build() { + local configure_options=( + --prefix=/usr + --mandir=/usr/share/man + --with-shared + --with-normal + --without-debug + --without-ada + --disable-pc-files + --with-cxx-binding + --with-cxx-shared + --with-versioned-syms + --with-abi-version=5 + ) + + cd "${srcdir}/${_pkgname}-${pkgver}" + + ./configure "${configure_options[@]}" --enable-widec + make + + cd "${srcdir}/${_pkgname}-${pkgver}-no-widec" + + ./configure "${configure_options[@]}" + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install.libs + cd "${srcdir}/${_pkgname}-${pkgver}-no-widec" + make DESTDIR="$pkgdir" install.libs + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -rf "$pkgdir/usr/include/" "$pkgdir/usr/lib/pkgconfig" \ + "$pkgdir"/usr/lib/*.so "$pkgdir"/usr/lib/*.a + + ln -s /usr/lib/libncurses.so.5 "$pkgdir/usr/lib/libtinfo.so.5" + ln -s /usr/lib/libncurses.so.5 "$pkgdir/usr/lib/libtic.so.5" +} From 4b430e5d0841ab285d6ebb4f986d212adf222a77 Mon Sep 17 00:00:00 2001 From: Broshward Date: Sun, 30 Apr 2023 00:08:24 +0300 Subject: [PATCH 4/8] python-3.10 link --- aur/arm-none-eabi-toolchain-bin/PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/aur/arm-none-eabi-toolchain-bin/PKGBUILD b/aur/arm-none-eabi-toolchain-bin/PKGBUILD index b459e44711..d3a9527afe 100644 --- a/aur/arm-none-eabi-toolchain-bin/PKGBUILD +++ b/aur/arm-none-eabi-toolchain-bin/PKGBUILD @@ -20,4 +20,5 @@ sha256sums=('7ee332f7558a984e239e768a13aed86c6c3ac85c90b91d27f4ed38d7ec6b3e8c') package() { mkdir -p ${pkgdir}/usr/local/ cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}${pkgrel}-${arch}-${_target}/* ${pkgdir}/usr/local/ + ln -s ${pkgdir}/usr/lib/libpython3.10.so.1.0 ${pkgdir}/usr/lib/libpython3.8.so.1.0 } From c76b481c39065f235a1f01691e20a9a20324df79 Mon Sep 17 00:00:00 2001 From: Broshward Date: Wed, 27 Sep 2023 22:34:08 +0300 Subject: [PATCH 5/8] 12.3.rel-1 --- aur/arm-none-eabi-toolchain-bin/PKGBUILD | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/aur/arm-none-eabi-toolchain-bin/PKGBUILD b/aur/arm-none-eabi-toolchain-bin/PKGBUILD index d3a9527afe..7dfbb74c02 100644 --- a/aur/arm-none-eabi-toolchain-bin/PKGBUILD +++ b/aur/arm-none-eabi-toolchain-bin/PKGBUILD @@ -3,8 +3,7 @@ buildarch=8 _target='arm-none-eabi' pkgname=${_target}'-toolchain-bin' -pkgver=12.2.rel -#compile_date=2021.10 +pkgver=12.3.rel pkgrel=1 pkgdesc="The GNU Compiler Collection Toolchain for (${_target})" arch=('aarch64') @@ -12,13 +11,9 @@ license=('GPL') url="https://developer.arm.com/" depends=('ncurses5-compat-libs') source=("https://developer.arm.com/-/media/Files/downloads/gnu/${pkgver}${pkgrel}/binrel/arm-gnu-toolchain-${pkgver}${pkgrel}-${arch}-${_target}.tar.xz") -#https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-aarch64-arm-none-eabi.tar.xz?rev=04bfc790b30b477fab2621438ab231a7&hash=31BC9F062982D1A76B7ABC2353824AB573AE00C4 -sha256sums=('7ee332f7558a984e239e768a13aed86c6c3ac85c90b91d27f4ed38d7ec6b3e8c') +sha256sums=('14c0487d5753f6071d24e568881f7c7e67f80dd83165dec5164b3731394af431') -#prepere() { -#} package() { mkdir -p ${pkgdir}/usr/local/ cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}${pkgrel}-${arch}-${_target}/* ${pkgdir}/usr/local/ - ln -s ${pkgdir}/usr/lib/libpython3.10.so.1.0 ${pkgdir}/usr/lib/libpython3.8.so.1.0 } From 3b32c2504ef0fbd94a183d2ebbf03ccce9872e51 Mon Sep 17 00:00:00 2001 From: Broshward Date: Wed, 27 Sep 2023 23:14:43 +0300 Subject: [PATCH 6/8] aur/2fa add --- aur/2fa/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 aur/2fa/PKGBUILD diff --git a/aur/2fa/PKGBUILD b/aur/2fa/PKGBUILD new file mode 100644 index 0000000000..1b3c035653 --- /dev/null +++ b/aur/2fa/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Alex Natalsson +# Contributor: Dmitri Goutnik +# Contributor: Doron Behar + +pkgname=2fa +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Two factor authentication agent" +arch=('aarch64') +url='https://github.com/rsc/2fa' +license=('BSD') +makedepends=('go') +conflicts=('2fa-git') +replaces=('2fa-git') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=("SKIP") + +prepare() { + mkdir -p src/rsc.io + mv ${pkgname}-${pkgver} src/rsc.io/2fa +} + +build() { + cd src/rsc.io/2fa + env GOPATH="${srcdir}" go mod vendor && go build +} + +# check() { +# cd src/rsc.io/2fa +# env GOPATH="${srcdir}" go test +# } + +package() { + cd src/rsc.io/2fa + install -Dm755 2fa "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: From b28927eaca05001cfd472d31002e6431c57c0e61 Mon Sep 17 00:00:00 2001 From: Broshward Date: Wed, 27 Sep 2023 23:48:46 +0300 Subject: [PATCH 7/8] usr/lib/libpython3.8.so.1.0 link added (need for gdb) --- aur/arm-none-eabi-toolchain-bin/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aur/arm-none-eabi-toolchain-bin/PKGBUILD b/aur/arm-none-eabi-toolchain-bin/PKGBUILD index 7dfbb74c02..80d7965e2f 100644 --- a/aur/arm-none-eabi-toolchain-bin/PKGBUILD +++ b/aur/arm-none-eabi-toolchain-bin/PKGBUILD @@ -16,4 +16,6 @@ sha256sums=('14c0487d5753f6071d24e568881f7c7e67f80dd83165dec5164b3731394af431') package() { mkdir -p ${pkgdir}/usr/local/ cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}${pkgrel}-${arch}-${_target}/* ${pkgdir}/usr/local/ + mkdir ${pkgdir}/usr/lib/ + ln -s /usr/lib/libpython3.11.so.1.0 ${pkgdir}/usr/lib/libpython3.8.so.1.0 } From 6a993c02fbd1c9e95eb43c87c121813e1d5cfce2 Mon Sep 17 00:00:00 2001 From: Broshward Date: Wed, 11 Oct 2023 18:51:13 +0300 Subject: [PATCH 8/8] Schematic and electronic print circuit board desinger --- aur/librnd4/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ aur/pcb-rnd/PKGBUILD | 28 ++++++++++++++++++++++++++++ aur/sch-rnd/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 aur/librnd4/PKGBUILD create mode 100644 aur/pcb-rnd/PKGBUILD create mode 100644 aur/sch-rnd/PKGBUILD diff --git a/aur/librnd4/PKGBUILD b/aur/librnd4/PKGBUILD new file mode 100644 index 0000000000..af5185a844 --- /dev/null +++ b/aur/librnd4/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Alex Natalsson +# +pkgname=librnd4 +pkgver=4.0.2 +pkgrel=2 +pkgdesc="free/open source, flexible, modular two-dimensional CAD engine" +url="http://www.repo.hu/projects/librnd/" +arch=('aarch64') +buildarch='0000 1000' +license=('GPL2') +depends=(glibc bash) +optdepends=('gtk2: GTK2 GUI' + 'gtkglext: GTK2 GUI, OpenGL render' + 'libepoxy: GTK4 GUI' + 'openmotif: the lesstif GUI' + 'libstroke: mouse gestures' + 'gd: to export/import to/from png, jpg or gif' + 'fungw: turing complete scripting') +source=("http://www.repo.hu/projects/librnd/releases/librnd-$pkgver.tar.gz") +sha256sums=('1cba7fa6f3bcea318ee813363d4033af6ea1e6c9db104996a682989ef085369a') + +build() { + cd "$srcdir/librnd-$pkgver/" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/librnd-$pkgver/" + make test +} + +package() { + cd "$srcdir/librnd-$pkgver/" + make DESTDIR="$pkgdir/" install +} diff --git a/aur/pcb-rnd/PKGBUILD b/aur/pcb-rnd/PKGBUILD new file mode 100644 index 0000000000..a680e9f251 --- /dev/null +++ b/aur/pcb-rnd/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Alex Natalsson +# +pkgname=pcb-rnd +pkgver=3.1.2 +pkgrel=1 +pkgdesc="free/open source, flexible, modular Printed Circuit Board editor" +url="http://www.repo.hu/projects/pcb-rnd/" +arch=('aarch64') +buildarch='0000 1000' +license=('GPL2') +depends=('librnd4>=4.0.0' + 'libxml2') +optdepends=('freetype2: import_ttf plugin' + 'fungw' + 'imagemagick: for running the pixmap export tests') +source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz") +sha256sums=('eb378dd59bbe8006c8f5b5d0905863965acf5f2256041a14a9b493cb150977c2') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="$pkgdir/" install +} diff --git a/aur/sch-rnd/PKGBUILD b/aur/sch-rnd/PKGBUILD new file mode 100644 index 0000000000..aa6faff69e --- /dev/null +++ b/aur/sch-rnd/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Alex Natalsson +# +pkgname=sch-rnd +pkgver=1.0.2 +pkgrel=1 +pkgdesc="simple, modular, scriptable schematics editor" +url="http://www.repo.hu/projects/pcb-rnd/" +arch=('aarch64') +buildarch='0000 1000' +license=('GPL2') +depends=('librnd4>=4.0.0' + 'libxml2') +optdepends=('freetype2: import_ttf plugin' + 'fungw') +source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz") +sha256sums=('48372953a0418447ffb578b64ce40874ae78f9976a3d99b69ceab900bc7fd169') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver/" + make test +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="$pkgdir/" install +}