summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82c55b2856325ee3551a45265338ef680f115281 (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
# Maintainer: Your Name <claudemods101@gmail.com>
pkgname=apexinstaller
pkgver=1.0
pkgrel=1
pkgdesc="A Qt6-based Arch installer application"
arch=('x86_64')
url="https://github.com/claudemods/ApexArchInstallerAppImage"
license=('GPL')
depends=('qt6-base')
makedepends=('git' 'make' 'gcc' 'qt6-tools')
source=("git+https://github.com/claudemods/ApexArchInstallerAppImage.git")
md5sums=('SKIP')

build() {
  cd "$srcdir/ApexArchInstallerAppImage"
  qmake6 PREFIX=/usr
  make
}

package() {
  cd "$srcdir/ApexArchInstallerAppImage"

  # Install the binary to /usr/bin
  install -Dm755 "ApexInstaller.bin" "$pkgdir/usr/bin/ApexInstaller"

  # Install the .desktop file to /usr/share/applications
  install -Dm644 "ApexInstaller.desktop" "$pkgdir/usr/share/applications/ApexInstaller.desktop"

  # Install the custom icon to /usr/share/icons/hicolor/256x256/apps/
  install -Dm644 "customdistro.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/customdistro.png"
}