From fc1c44f7368743809994dcfa1e84443bbde7e083 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 3 Sep 2021 10:29:42 +0200 Subject: Implement Arch Linux Packaging --- archlinux/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 archlinux/PKGBUILD (limited to 'archlinux/PKGBUILD') diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD new file mode 100644 index 0000000..b77f4e0 --- /dev/null +++ b/archlinux/PKGBUILD @@ -0,0 +1,41 @@ + +# Maintainer: xengineering +pkgname=xbackup +pkgver=0.0.1 +pkgrel=1 +epoch= +pkgdesc='Convenience wrapper around the Borg backup tool' +arch=('any') +url='https://xengineering.eu' +license=('GPL3') +groups=() +depends=('licenses' 'python' 'borg') +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=('etc/xbackup/config.json') +options=() +install= +changelog= +source=("${pkgname}.tar.gz") +noextract=() +md5sums=('SKIP') +validpgpkeys=() + +build() { + #./configure --prefix=/usr + cd ${pkgname} + make all +} + +#check() { +# make -k check +#} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-70-g09d2