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 | |
parent | dc60f40b129d3b6dcbf21c92e9aa55c2fba12c79 (diff) | |
download | aur-appimaged-bin.tar.gz |
A lot of stuff
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | appimaged-path.sh | 1 | ||||
-rw-r--r-- | appimaged.service | 10 |
5 files changed, 36 insertions, 7 deletions
@@ -1,16 +1,21 @@ pkgbase = appimaged-bin pkgdesc = Deprecated: A daemon that monitors the system and integrates AppImages pkgver = r199 - pkgrel = 3 + pkgrel = 4 url = https://github.com/AppImageCommunity/appimaged arch = x86_64 license = MIT depends = gdk-pixbuf2 provides = appimaged conflicts = appimaged + options = !strip source = appimaged.AppImage::https://github.com/AppImageCommunity/appimaged/releases/download/continuous/appimaged-x86_64.AppImage source = LICENSE::https://github.com/AppImageCommunity/appimaged/raw/continuous/LICENSE + source = appimaged.service + source = appimaged-path.sh sha256sums = 0cb439698ccd542c622c5aec5496efb0fe6a56575b16be9e77bd5467b97b4555 sha256sums = b54da09f0d48f1c42a1b27035711ed41494551ed8a20b991746e669e6f944a94 + sha256sums = SKIP + sha256sums = SKIP pkgname = appimaged-bin diff --git a/.gitignore b/.gitignore index 400ae27507a1..8c8f41a9f032 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ -appimaged* +appimaged-*.pkg.tar.zst +appimaged.AppImage +LICENSE src pkg @@ -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}" } diff --git a/appimaged-path.sh b/appimaged-path.sh new file mode 100644 index 000000000000..96ee317d179f --- /dev/null +++ b/appimaged-path.sh @@ -0,0 +1 @@ +export PATH="${PATH}:/Applications" diff --git a/appimaged.service b/appimaged.service new file mode 100644 index 000000000000..da9492ba212f --- /dev/null +++ b/appimaged.service @@ -0,0 +1,10 @@ +[Unit] +Description=AppImage daemon +After=basic.target +[Service] +ExecStart=/usr/bin/appimaged +Restart=always +RestartSec=5s +StartLimitInterval=0 +[Install] +WantedBy=graphical-session.target |