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