index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | community/xaos/PKGBUILD | 16 |
diff --git a/community/xaos/PKGBUILD b/community/xaos/PKGBUILD index d3dd57f2..15dd3e6c 100644 --- a/community/xaos/PKGBUILD +++ b/community/xaos/PKGBUILD @@ -1,8 +1,14 @@ source+=('xaos.patch') sha256sums+=('b07cdc88be38a30a40bccc2f999bff50ae8a25fc10ed4f2f7c7e2ff117f085e5') -prepare() { - patch -p1 -N -i "$srcdir/xaos.patch" -d "$srcdir/$pkgname-$pkgver" - gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \ - --categories='Application;Graphics' -} +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i patch -p1 -N -i "$srcdir/xaos.patch" -d "$srcdir/$pkgname-$pkgver" \ + gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \\\ + --categories='"'"'Application;Graphics'"'"' + ' +)" |