Skip to content

Commit 14bf7c8

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

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-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

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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-xcffib'
15+
'python-yaml'
16+
)
17+
makedepends=(make)
18+
19+
_pkgnvr="${pkgname}-${pkgver}-${pkgrel}"
20+
changelog=debian/changelog
21+
source=("${_pkgnvr}.tar.gz")
22+
md5sums=(SKIP)
23+
24+
build() {
25+
cd "${_pkgnvr}"
26+
make clean all
27+
}
28+
29+
package() {
30+
cd "${_pkgnvr}"
31+
# shellcheck disable=SC2154
32+
make install DESTDIR="$pkgdir"
33+
}
34+
35+
# vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab:

0 commit comments

Comments
 (0)