blob: 06e8828aaff8367ffb27461d97238c643ab42980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
pkgname=arch-os-manager
pkgver=r85.247b58f
pkgrel=1
pkgdesc="Arch OS System Manager"
arch=('any')
url="https://github.com/murkl/arch-os-manager"
license=('GPL2')
depends=('kitty' 'gum' 'libnotify' 'pacman-contrib' 'fzf')
optdepends=('paru: Add support for AUR packages' 'flatpak: Add support for Flatpak packages' 'reflector: Add support for refresh mirrorlist' 'downgrade: Add support for donwgrade system packages' 'meld: Add support for merge pacdiff configurations' 'xdg-utils: Add support for open news in browser' 'gnome-shell-extensions: Add support for GNOME Extensions')
makedepends=('git')
source=(arch-os.desktop $pkgname::git+$url.git)
sha256sums=('SKIP' 'SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
mkdir -p "${pkgdir}/opt/${pkgname}"
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/applications"
cp -rf "${srcdir}/${pkgname}/"* "$pkgdir/opt/${pkgname}/"
cp -f arch-os.desktop "${pkgdir}/usr/share/applications/"
chmod +x "${pkgdir}/opt/${pkgname}/arch-os"
ln -s /opt/${pkgname}/arch-os "${pkgdir}/usr/bin/"
}
|