diff options
author | Mark Wagie | 2020-08-04 10:47:00 -0600 |
---|---|---|
committer | Mark Wagie | 2020-08-04 10:47:00 -0600 |
commit | 04a322d4a93170037bbff52afc96794a32de24dc (patch) | |
tree | acbc495494f667645efae3cfd8a2a5620de60234 /PKGBUILD | |
parent | d6282ec53e10b4e92011181301531ac04d456742 (diff) | |
download | aur-04a322d4a93170037bbff52afc96794a32de24dc.tar.gz |
PKGBUILD tweaks
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -25,15 +25,16 @@ prepare() { } package() { - find squashfs-root/{locales,resources,usr/share/icons}/ -type d -exec chmod 755 {} + + cd "$srcdir/squashfs-root" + find {locales,resources,usr/share/icons}/ -type d -exec chmod 755 {} + install -d "$pkgdir/usr/lib/${pkgname%-bin}" - cp -r squashfs-root/resources "$pkgdir/usr/lib/${pkgname%-bin}" + cp -r resources "$pkgdir/usr/lib/${pkgname%-bin}" - install -Dm755 "${pkgname%-bin}" -t "$pkgdir/usr/bin" + install -Dm755 "$srcdir/${pkgname%-bin}" -t "$pkgdir/usr/bin" - install -Dm644 "squashfs-root/${pkgname%-bin}.desktop" -t "$pkgdir/usr/share/applications" + install -Dm644 "${pkgname%-bin}.desktop" -t "$pkgdir/usr/share/applications" install -d "$pkgdir/usr/share/icons" - cp -r squashfs-root/usr/share/icons/hicolor "$pkgdir/usr/share/icons" + cp -r usr/share/icons/hicolor "$pkgdir/usr/share/icons" } |