Skip to content

Commit

Permalink
Add Arch packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jan 26, 2025
1 parent 4e4fa79 commit e22c531
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .qubesbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ vm:
deb:
build:
- debian
archlinux:
build:
- archlinux
37 changes: 37 additions & 0 deletions archlinux/PKGBUILD.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash
pkgname=qubes-core-admin-client
pkgver=@VERSION@
pkgrel=@REL@
pkgdesc="This package include management tools, like qvm-*."
arch=("x86_64")
url="https://qubes-os.org/"
license=('GPL')
depends=(
'scrypt'
'xorg-xrandr'
'python-setuptools'
'python-tqdm'
'python-xcffib'
'python-xlib'
'python-yaml'
'qubes-repo-templates'
)
makedepends=(make)

_pkgnvr="${pkgname}-${pkgver}-${pkgrel}"
changelog=debian/changelog
source=("${_pkgnvr}.tar.gz")
md5sums=(SKIP)

build() {
cd "${_pkgnvr}"
make clean all
}

package() {
cd "${_pkgnvr}"
# shellcheck disable=SC2154
make install DESTDIR="$pkgdir"
}

# vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab:

0 comments on commit e22c531

Please sign in to comment.