Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 062063b1 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

PKG: Update the PKGBUILD file

parent 02c1203b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -4,6 +4,7 @@ build.clang/
build.icc/
bin/
pkg/
tmp/
fake/
*.cache/
*.out
......
# Maintainer: Maël 'Kubat' MARTIN <mael.martin31@gmail.com>
pkgname=lektor
pkgver=mk7.1044.1d6ed7d
pkgver=mk7.1109.02c1203
pkgrel=1
pkgdesc="The lektor kara player, from the Bakaclub"
arch=(x86_64 i686)
url="https://git.iiens.net/martin2018/lektor.git"
license=('ISC')
groups=(bakaclub)
depends=('sqlite3>=3.31.0' curl json-c xorg-server mpv sdl2)
makedepends=(git meson ninja bash 'gcc>=8.1')
depends=('sqlite3>=3.31.0' curl json-c mpv sdl2)
makedepends=(git bash 'gcc>=8.1')
provides=(lektor)
changelog=CHANGELOG
source=()
pkgver() {
cd ..
echo "== pkgver from $(pwd)" >/dev/stderr
function pkgver ()
{
printf "mk7.%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ..
echo "== build from $(pwd)" >/dev/stderr
mkdir build &>/dev/null || true
meson build/ || true
meson configure build/ -Dbuildtype=release -Ddebug=false -Doptimization=3 -Dstrip=true
meson configure build/ -Dprefix=$(pwd)/pkg/lektor
ninja -C build/
function build ()
{
[ -d $startdir/build ] || mkdir $startdir/build
cd $startdir/build
../configure --prefix=/usr/local --enable-static-module CC=gcc
make
}
package() {
cd ..
echo "== package from $(pwd)" >/dev/stderr
ninja -C build/ install
function package ()
{
cd $startdir/build
make DESTDIR="$pkgdir/" install
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter