Skip to content

Commit 1f70334

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

File tree

2 files changed

+39
-0
lines changed

2 files changed

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

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

0 commit comments

Comments
 (0)