mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Fix for penguins module.
This commit is contained in:
parent
822ebcda6f
commit
8581f5f0ac
2 changed files with 27 additions and 9 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = e-modules-extra-git
|
||||
pkgdesc = Enlightenment modules: Extra unsupported modules in Git not already packaged elsewhere
|
||||
pkgver = 20260208
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://git.enlightenment.org/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
|
@ -18,6 +18,7 @@ pkgbase = e-modules-extra-git
|
|||
source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-eenvader.fractal.git
|
||||
source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-mem.git
|
||||
source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-net.git
|
||||
source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-penguins.git
|
||||
source = git+https://git.enlightenment.org/enlightenment/enlightenment-module-tclock.git
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
|
|
@ -25,5 +26,6 @@ pkgbase = e-modules-extra-git
|
|||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = e-modules-extra-git
|
||||
|
|
|
|||
32
PKGBUILD
32
PKGBUILD
|
|
@ -20,10 +20,10 @@ _module_list=(
|
|||
# 'mpdule' # not compatible with Enlightenment >= 0.19.99, adds dep on libmpd
|
||||
'net'
|
||||
# 'news' # not compatible with Enlightenment >= 0.19.0
|
||||
# 'penguins' # fails to compile
|
||||
'penguins'
|
||||
# 'photo' # not compatible with Enlightenment >= 0.18.0
|
||||
# 'share' # not compatible with Enlightenment >= 0.19.0, adds dep on libbsd
|
||||
'tclock' # fails to compile (implicit-function-declaration)
|
||||
'tclock'
|
||||
# 'wallpaper2' # not compatible with Enlightenment < 0.19.99
|
||||
# 'wlan' # fails to compile (implicit-function-declaration)
|
||||
)
|
||||
|
|
@ -36,7 +36,7 @@ containsElement () {
|
|||
|
||||
pkgname=e-modules-extra-git
|
||||
pkgver=20260208
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Enlightenment modules: Extra unsupported modules in Git not already packaged elsewhere"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://git.enlightenment.org/"
|
||||
|
|
@ -74,11 +74,19 @@ build() {
|
|||
|
||||
msg2 "Building $_module"
|
||||
|
||||
./autogen.sh \
|
||||
--prefix=/usr \
|
||||
--disable-static
|
||||
case $_module in
|
||||
penguins)
|
||||
/usr/bin/meson setup build
|
||||
ninja -C build
|
||||
;;
|
||||
*)
|
||||
./autogen.sh \
|
||||
--prefix=/usr \
|
||||
--disable-static
|
||||
make CFLAGS+=-std=gnu17
|
||||
;;
|
||||
esac
|
||||
|
||||
make CFLAGS+=-std=gnu17
|
||||
done
|
||||
}
|
||||
|
||||
|
|
@ -88,7 +96,15 @@ package() {
|
|||
|
||||
msg2 "Installing $_module"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
case $_module in
|
||||
penguins)
|
||||
# ninja -C build install
|
||||
/usr/bin/meson install -C build --destdir "$pkgdir"
|
||||
;;
|
||||
*)
|
||||
make DESTDIR="$pkgdir" install
|
||||
;;
|
||||
esac
|
||||
|
||||
# install text files
|
||||
[[ -e ChangeLog ]] && install -Dm644 ChangeLog "$pkgdir/usr/share/doc/${pkgname%-*}/$_module/ChangeLog" || true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue