Skip to content

Commit e22c531

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

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.qubesbuilder

Lines changed: 3 additions & 0 deletions
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

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

0 commit comments

Comments
 (0)