blob: d2f8145b87cfd30c13e14cbbc6c03875a2247436 (
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
28
29
30
|
# Maintainer: Hari Chalise <harilvfs@chalisehari.com.np>
pkgname=carch-bin
_pkgname=carch
pkgver=v3.0.7
pkgrel=4
pkgdesc="An automated script for quick & easy Arch Linux system setup"
arch=('x86_64')
url="https://github.com/harilvfs/$_pkgname"
license=('Apache-2.0')
depends=('bash' 'gum' 'figlet' 'pacman')
source=(
"https://github.com/harilvfs/$_pkgname/releases/download/$pkgver/$_pkgname"
"https://raw.githubusercontent.com/harilvfs/$_pkgname/refs/heads/main/$_pkgname.desktop"
)
sha256sums=('47cef8973be3ff95c96b4a187c99fa29b43d7ac11b04786fcb479e99861d72be' 'SKIP')
conflicts=($_pkgname)
provides=($_pkgname)
prepare() {
echo "Version=$pkgver" >> "$_pkgname.desktop"
}
package() {
cd "$srcdir"
install -Dm755 "$srcdir/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
}
|