diff options
author | Einhard Leichtfuß | 2021-12-25 02:52:14 +0100 |
---|---|---|
committer | Einhard Leichtfuß | 2021-12-25 02:52:14 +0100 |
commit | 03123cfe2960ada6ad38ed8efb56144cb15a6f7d (patch) | |
tree | 21b946e8ba65ea60055d88d1b63a1086cc4f05e1 | |
parent | b1008fce426f687b8bb449c1edae2b626297702f (diff) | |
download | aur-03123cfe2960ada6ad38ed8efb56144cb15a6f7d.tar.gz |
Fix install()
Only specific dotfiles excluded now; no `cp -a'.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = mediawiki-skin-tweeki-git pkgdesc = MediaWiki skin based on Twitter's Bootstrap - pkgver = 1.1.0.r23.g9441ca6 - pkgrel = 1 + pkgver = 1.2.6.r2.g7aaf732 + pkgrel = 2 url = https://www.mediawiki.org/wiki/Skin:Tweeki arch = any license = GPL2 @@ -13,4 +13,3 @@ pkgbase = mediawiki-skin-tweeki-git sha512sums = SKIP pkgname = mediawiki-skin-tweeki-git - @@ -5,8 +5,8 @@ _skinname_lowercase="${_skinname,,}" _pkgname_base="mediawiki-skin-${_skinname_lowercase}" pkgname="${_pkgname_base}-git" -pkgver=1.1.0.r23.g9441ca6 -pkgrel=1 +pkgver=1.2.6.r2.g7aaf732 +pkgrel=2 pkgdesc="MediaWiki skin based on Twitter's Bootstrap" arch=('any') url="https://www.mediawiki.org/wiki/Skin:${_skinname}" @@ -40,5 +40,8 @@ package() local skin_dir="/usr/share/webapps/mediawiki/skins/${_skinname}" install -d -m755 "${pkgdir}${skin_dir}" - cp -a "$_skinname"/* "${pkgdir}${skin_dir}/" + cd "${_skinname}" + find . -mindepth 1 -maxdepth 1 -regextype posix-extended \ + \! -regex './\.git(|ignore|review)' \ + -exec cp -RP '{}' "${pkgdir}${skin_dir}/" \; } |