blob: cf1ae23a18852552dc233d792cf8f6b75cd0faf6 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer Hari Chalise <harilvfs@chalisehari.com.np>
pkgname="carch"
pkgver="v4.0.0"
pkgrel=1
pkgdesc="An automated script for quick & easy Arch Linux system setup"
arch=(any)
url="https://github.com/harilvfs/carch"
license=('GPL')
options=(!strip)
depends=(
"bash"
"man-pages"
"zip"
"gum"
"git"
"sed"
"xdg-user-dirs"
"wget"
"figlet"
"pacman"
"unzip"
"python"
"gtk3"
)
conflicts=('carch-git')
makedepends=()
source=("${pkgname}-${pkgver}::https://github.com/harilvfs/carch/archive/refs/tags/${pkgver}.tar.gz")
md5sums=('SKIP')
package() {
install -Dm 755 ${srcdir}/carch-${pkgver}/build/carch -t ${pkgdir}/usr/bin/carch
install -d "$pkgdir/usr/bin/scripts"
install -Dm 755 ${srcdir}/carch-${pkgver}/scripts/*.sh -t ${pkgdir}/usr/bin/scripts/
# desktop entry
install -Dm 644 ${srcdir}/carch-${pkgver}/carch.desktop -t ${pkgdir}/usr/share/applications/carch.desktop
# license
install -Dm 644 ${srcdir}/carch-${pkgver}/LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
# doc
install -Dm 644 ${srcdir}/carch-${pkgver}/README.md -t ${pkgdir}/usr/share/doc/${pkgname}/README.md
}
|