Skip to content

Commit 50757e6

Browse files
committed
Package for Arch
1 parent 972d0b8 commit 50757e6

File tree

2 files changed

+30
-0
lines changed

2 files changed

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

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
pkgname=qubes-repo-templates
3+
pkgver=@VERSION@
4+
pkgrel=@REL@
5+
pkgdesc="Repository definition for Qubes OS VM template packages"
6+
arch=("x86_64")
7+
url="https://qubes-os.org/"
8+
license=('GPL')
9+
depends=()
10+
makedepends=(make)
11+
12+
_pkgnvr="${pkgname}-${pkgver}-${pkgrel}"
13+
changelog=debian/changelog
14+
source=("${_pkgnvr}.tar.gz")
15+
md5sums=(SKIP)
16+
17+
build() {
18+
cd "${_pkgnvr}"
19+
}
20+
21+
package() {
22+
cd "${_pkgnvr}"
23+
# shellcheck disable=SC2154
24+
make -C repos install DESTDIR="$pkgdir"
25+
}
26+
27+
# vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab:

0 commit comments

Comments
 (0)