```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
22 lines
932 B
Bash
22 lines
932 B
Bash
# Template file for 'lumina'
|
|
pkgname=lumina
|
|
version=1.6.0
|
|
revision=2
|
|
build_style=qmake
|
|
configure_args="QT5LIBDIR=/usr/lib/qt5 L_ETCDIR=/etc CONFIG+=WITH_I18N"
|
|
hostmakedepends="qt5-host-tools qt5-qmake"
|
|
makedepends="qt5-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel
|
|
qt5-declarative-devel libXrender-devel libXcomposite-devel libXcursor-devel libXdamage-devel
|
|
xcb-util-devel xcb-util-wm-devel xcb-util-image-devel pulseaudio-devel poppler-qt5-devel"
|
|
depends="fluxbox numlockx xbacklight alsa-utils acpi xscreensaver bsdtar qt5-svg qsudo"
|
|
short_desc="Lumina Desktop Environment"
|
|
maintainer="hipperson0 <hipperson0@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/lumina-desktop/lumina"
|
|
distfiles="https://github.com/lumina-desktop/lumina/archive/v${version}.tar.gz"
|
|
checksum=f3512fca4d05e3cf3a6ac106f0f16c9618bda9fa546f1d23ffb0eab9a5ce7c8a
|
|
replaces="lumina-git>=0"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|