Skip to content

Commit

Permalink
Package for Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jan 23, 2025
1 parent 972d0b8 commit 50757e6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .qubesbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ vm:
deb:
build:
- debian
archlinux:
build:
- archlinux
27 changes: 27 additions & 0 deletions archlinux/PKGBUILD.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash
pkgname=qubes-repo-templates
pkgver=@VERSION@
pkgrel=@REL@
pkgdesc="Repository definition for Qubes OS VM template packages"
arch=("x86_64")
url="https://qubes-os.org/"
license=('GPL')
depends=()
makedepends=(make)

_pkgnvr="${pkgname}-${pkgver}-${pkgrel}"
changelog=debian/changelog
source=("${_pkgnvr}.tar.gz")
md5sums=(SKIP)

build() {
cd "${_pkgnvr}"
}

package() {
cd "${_pkgnvr}"
# shellcheck disable=SC2154
make -C repos install DESTDIR="$pkgdir"
}

# vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab:

0 comments on commit 50757e6

Please sign in to comment.