diff options
author | Mazhar Hussain | 2023-12-26 11:09:52 +0500 |
---|---|---|
committer | Mazhar Hussain | 2023-12-26 11:09:52 +0500 |
commit | a5dd52773c3101ee32913c7083dba409fb68d79d (patch) | |
tree | ba64cb37626329e5493939de2c661a8654200e8c /PKGBUILD | |
parent | dc60f40b129d3b6dcbf21c92e9aa55c2fba12c79 (diff) | |
download | aur-appimaged-bin.tar.gz |
A lot of stuff
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 16 insertions, 5 deletions
@@ -3,27 +3,32 @@ pkgname=appimaged-bin pkgdesc="Deprecated: A daemon that monitors the system and integrates AppImages" url="https://github.com/AppImageCommunity/appimaged" pkgver=r199 -pkgrel=3 +pkgrel=4 arch=(x86_64) license=(MIT) provides=(appimaged) conflicts=(appimaged) depends=(gdk-pixbuf2) +options=(!strip) source=( "appimaged.AppImage"::"https://github.com/AppImageCommunity/appimaged/releases/download/continuous/appimaged-x86_64.AppImage" "LICENSE"::"https://github.com/AppImageCommunity/appimaged/raw/continuous/LICENSE" + "appimaged.service" + "appimaged-path.sh" ) sha256sums=( 0cb439698ccd542c622c5aec5496efb0fe6a56575b16be9e77bd5467b97b4555 b54da09f0d48f1c42a1b27035711ed41494551ed8a20b991746e669e6f944a94 + SKIP + SKIP ) prepare() { - chmod +x appimaged.AppImage + chmod 755 appimaged.AppImage } package() { - for pattern in usr/{lib/systemd,bin,share/{applications,icons,metainfo}}; do + for pattern in usr/share/{applications,icons,metainfo}; do ./appimaged.AppImage --appimage-extract "${pattern}" done @@ -32,8 +37,14 @@ package() { rmdir --parents --ignore-fail-on-non-empty "${directory}" done + for file in $(find squashfs-root -type f); do + chmod 644 "${file}" + done + mv -fT squashfs-root "${pkgdir}" - mkdir --parents "${pkgdir}/usr/share/licenses/${pkgname}" - cp LICENSE --target-directory "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm755 appimaged.AppImage "${pkgdir}/usr/bin/appimaged" + install -Dm644 appimaged-path.sh --target-directory "${pkgdir}/etc/profile.d" + install -Dm644 appimaged.service --target-directory "${pkgdir}/usr/lib/systemd/user" + install -Dm644 LICENSE --target-directory "${pkgdir}/usr/share/licenses/${pkgname}" } |