add a pkgbuild

This commit is contained in:
Ohio2 2021-08-30 14:39:38 +02:00
parent b611df1b1f
commit e52b8beecf

40
PKGBUILD Normal file
View file

@ -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 <youremail@domain.com>
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
}