add phylonium depen

This commit is contained in:
starsareintherose 2021-08-27 01:19:40 +08:00
parent 70ebf53e5b
commit 3082dbdc2c
3 changed files with 46 additions and 0 deletions

28
libdivsufsort/PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# Maintainer: Eric Biggers <ebiggers3@gmail.com>
pkgname=libdivsufsort
pkgver=2.0.1
pkgrel=3
pkgdesc="A lightweight suffix-sorting library"
arch=("i686" "x86_64")
url="https://github.com/y-256/libdivsufsort"
license=("MIT")
makedepends=("cmake")
source=("https://github.com/y-256/libdivsufsort/archive/${pkgver}.tar.gz")
build() {
cd "${pkgname}-${pkgver}"
cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="/usr" \
-DBUILD_DIVSUFSORT64=1
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
install -D -m0644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
rm -f "${pkgdir}"/usr/lib/*.la
}
sha256sums=("9164cb6044dcb6e430555721e3318d5a8f38871c2da9fd9256665746a69351e0")

10
libdivsufsort/lilac.py Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

8
libdivsufsort/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: y-256/libdivsufsort
use_latest_release: true