Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 61 additions & 19 deletions apps/alg-app-store/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,29 +1,71 @@
#!/bin/bash
# Maintainer: Harsh Upadhyay amanupadhyay2004@gmail.com
# Qt6/C++ Version

pkgname=alg-app-store
pkgver=25.3
pkgver=0.3.0
pkgrel=1
destname="/usr/bin"
pkgdesc="Package Installer For ALG"
arch=('x86_64')
pkgdesc="A modern, native package manager for Arch Linux built with Qt6 and C++"
arch=('x86_64' 'aarch64')
url="https://github.com/arch-linux-gui/alg-app-store"
license=('GPL3')
depends=('webkit2gtk' 'go' 'nodejs' 'npm')
source=(${pkgname}::"git+${url}")
license=('MIT')
depends=(
'qt6-base'
'qt6-svg'
'pacman'
'polkit'
)
makedepends=(
'cmake'
'base-devel'
'pkgconf'
)
optdepends=(
'yay: AUR helper support'
'paru: Alternative AUR helper support'
'chaotic-keyring: Chaotic-AUR repository support'
'chaotic-mirrorlist: Chaotic-AUR repository support'
)
source=("git+https://github.com/arch-linux-gui/alg-app-store.git#branch=startup_auth")
sha256sums=('SKIP')

prepare() {
cd $pkgname
go get
go install github.com/wailsapp/wails/v2/cmd/wails@latest
~/go/bin/wails build
build() {
cd "$pkgname"

# Create build directory
mkdir -p build
cd build

# Configure with CMake
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=OFF

# Build
make -j$(nproc)
}

package() {

install -Dm644 "$srcdir/"${pkgname}"/assets/alg-app-store.png" "$pkgdir/usr/share/pixmaps/alg-app-store.png"

install -Dm755 "$srcdir/"${pkgname}"/assets/alg-app-store.desktop" "$pkgdir/usr/share/applications/alg-app-store.desktop"

install -Dm755 "$srcdir/"${pkgname}"/build/bin/alg-app-store" "$pkgdir/usr/bin/alg-app-store"
}
cd "$pkgname/build"

# Install binary
install -Dm755 alg-app-store "$pkgdir/usr/bin/alg-app-store"

# Install desktop file
install -Dm644 ../assets/alg-app-store.desktop "$pkgdir/usr/share/applications/alg-app-store.desktop"

# Install icon
install -Dm644 ../assets/alg-app-store.png "$pkgdir/usr/share/pixmaps/alg-app-store.png"

# Install stylesheet
install -Dm644 stylesheet.qss "$pkgdir/usr/share/alg-app-store/stylesheet.qss"

# Install license (if exists)
if [ -f ../LICENSE ]; then
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
fi

# Install documentation
install -Dm644 ../README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
32 changes: 0 additions & 32 deletions apps/alg-welcome/PKGBUILD

This file was deleted.

3 changes: 0 additions & 3 deletions apps/alg-welcome/cleanup.sh

This file was deleted.

28 changes: 0 additions & 28 deletions apps/custom-installer-modules/PKGBUILD

This file was deleted.

3 changes: 0 additions & 3 deletions apps/custom-installer-modules/cleanup.sh

This file was deleted.

5 changes: 3 additions & 2 deletions cala-configs/alg-theme-cala-config/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgname=alg-theme-cala-config
destname="/etc"
pkgver=25.03
pkgrel=5
pkgrel=6
pkgdesc="Calamares config for Arch Linux GUI Themed Editions"
arch=('any')
url="https://github.com/arch-linux-gui"
Expand All @@ -12,10 +12,11 @@ depends=()
conflicts=()
provides=("${pkgname}")
options=(!strip !emptydirs)
source=(${pkgname}::"git+${url}/${pkgname}")
source=(${pkgname}::"git+${url}/${pkgname}#branch=app-store")
sha256sums=('SKIP')
package() {
install -dm755 ${pkgdir}${destname}
cp -r ${srcdir}/${pkgname}${destname}/* ${pkgdir}${destname}
chmod 755 ${pkgdir}/etc/calamares/launch.sh
}