Autogenerated commit at 2023-09-06 15:18:33.827326

This commit is contained in:
ahriman 2023-09-06 15:18:33 +00:00
parent 95908b98f1
commit ba8a185332
2 changed files with 47 additions and 0 deletions

14
plibsys/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = plibsys
pkgdesc = Cross-platform system C library with some helpful routines
pkgver = 0.0.4
pkgrel = 1
url = https://github.com/saprykin/plibsys
arch = x86_64
license = LGPL2.1
makedepends = cmake
depends = glibc
source = https://github.com/saprykin/plibsys/archive/0.0.4.tar.gz
sha512sums = 61957666fb454469e1ff68435463eaf426e960caed33540dbb495e1aa7c446c9803d100f33f1a6ea70d5f2ee2d0d19ec315f3a8c651747f65a186ad061c05e51
pkgname = plibsys

33
plibsys/PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
pkgname=plibsys
pkgver=0.0.4
pkgrel=1
pkgdesc="Cross-platform system C library with some helpful routines"
arch=('x86_64')
url="https://github.com/saprykin/plibsys"
license=('LGPL2.1')
depends=('glibc')
makedepends=('cmake')
source=("https://github.com/saprykin/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('61957666fb454469e1ff68435463eaf426e960caed33540dbb495e1aa7c446c9803d100f33f1a6ea70d5f2ee2d0d19ec315f3a8c651747f65a186ad061c05e51')
prepare() {
rm -rf "build"
mkdir "build"
}
build() {
cd "build"
cmake "../${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPLIBSYS_BUILD_STATIC=OFF \
-DPLIBSYS_TESTS=OFF
make
}
package() {
cd "build"
make DESTDIR="${pkgdir}" install
}