Skip to content

Commit

Permalink
Revert "Update .gitignore to Exclude Binary Files (#163)"
Browse files Browse the repository at this point in the history
This reverts commit 6ec81c2.
  • Loading branch information
harilvfs authored Dec 3, 2024
1 parent 6ec81c2 commit 0e571ae
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
cxfs.sh.x.c
setup.sh.x.c
clean.sh.x.c
/install/setup.sh.x.c
/run/clean.sh.x.c
/build/core.sh.x.c
core.sh.x.c
/cli/carchcli.sh.x.c
/gtk/gtk.sh.x.c
/build/carch
/gtk/carch-gtk
/cli/carchcli
/source/zip
PKGBUILD

# Logs
logs
Expand Down
49 changes: 49 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Maintainer: Hari Chalise <harilvfs@chalisehari.com.np>
pkgname=carch-git
_pkgname=carch
pkgver=v3.0.9
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' 'unzip' 'python' 'gtk3')
source=(
"https://github.com/harilvfs/$_pkgname/releases/download/$pkgver/scripts.zip"
"https://github.com/harilvfs/$_pkgname/releases/download/$pkgver/carch-gtk"
"https://github.com/harilvfs/$_pkgname/releases/download/$pkgver/carch-gtk.py"
"https://github.com/harilvfs/$_pkgname/releases/download/$pkgver/$_pkgname"
"https://github.com/harilvfs/$_pkgname/releases/download/$pkgver/carchcli"
"https://raw.githubusercontent.com/harilvfs/$_pkgname/refs/heads/main/$_pkgname.desktop"
)
sha256sums=(
'SKIP'
'b9ad03d513a315f785b72747956fa1d3ebf6fc78dd71a764f281f61a9abe0fe2'
'SKIP'
'18c924b27e6ae3ea39c164b8a8d64cff74df6341bcdafc4684e7ab1f3db817cb'
'865621815bce71fca88d3c5251149673d20936656b71fe69510fed594384acc8'
'SKIP'
)

conflicts=($_pkgname)
provides=($_pkgname)

prepare() {
echo "Version=$pkgver" >> "$srcdir/$_pkgname.desktop"
}

package() {
cd "$srcdir"

install -d "$pkgdir/usr/bin/scripts"

unzip "$srcdir/scripts.zip" -d "$pkgdir/usr/bin/scripts"

install -Dm755 "$srcdir/$_pkgname" "$pkgdir/usr/bin/$_pkgname"

install -Dm755 "$srcdir/carch-gtk" "$pkgdir/usr/bin/carch-gtk"
install -Dm755 "$srcdir/carch-gtk.py" "$pkgdir/usr/bin/carch-gtk.py"

install -Dm755 "$srcdir/carchcli" "$pkgdir/usr/bin/carchcli"
install -Dm644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
}
Binary file added build/carch
Binary file not shown.
Binary file added cli/carchcli
Binary file not shown.
Binary file added gtk/carch-gtk
Binary file not shown.
Binary file added source/zip/scripts.zip
Binary file not shown.

0 comments on commit 0e571ae

Please sign in to comment.