From e52b8beecf7c6ec9407e963d6afbc5ea83fed428 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Mon, 30 Aug 2021 14:39:38 +0200 Subject: [PATCH] add a pkgbuild --- PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..64ab73c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Your Name +pkgname=violet +pkgver=1.0 +pkgrel=1 +epoch= +pkgdesc="" +arch=('x86_64') +url="https://git.hippoz.xyz/rice/violet" +license=('GPL') +groups=() +depends=() +makedepends=("rust") +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+https://git.hippoz.xyz/rice/violet") +noextract=() +md5sums=('SKIP') +validpgpkeys=() + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/" install +}