Skip to content

Commit 9a8b66f

Browse files
committed
Add Arch packaging
Fixes QubesOS/qubes-issues#9231
1 parent 4e4fa79 commit 9a8b66f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.qubesbuilder

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ vm:
99
deb:
1010
build:
1111
- debian
12+
archlinux:
13+
build:
14+
- archlinux

archlinux/PKGBUILD.in

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/bin/bash
2+
pkgname=qubes-core-admin-client
3+
pkgver=@VERSION@
4+
pkgrel=@REL@
5+
pkgdesc="This package include management tools, like qvm-*."
6+
arch=("x86_64")
7+
url="https://qubes-os.org/"
8+
license=('GPL')
9+
depends=(
10+
'scrypt'
11+
'xorg-xrandr'
12+
'python-setuptools'
13+
'python-tqdm'
14+
'python-yaml'
15+
)
16+
makedepends=(make)
17+
18+
_pkgnvr="${pkgname}-${pkgver}-${pkgrel}"
19+
changelog=debian/changelog
20+
source=("${_pkgnvr}.tar.gz")
21+
md5sums=(SKIP)
22+
23+
build() {
24+
cd "${_pkgnvr}"
25+
make clean all
26+
}
27+
28+
package() {
29+
cd "${_pkgnvr}"
30+
# shellcheck disable=SC2154
31+
make install DESTDIR="$pkgdir"
32+
}
33+
34+
# vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab:

0 commit comments

Comments
 (0)