makedeb


libzakalwe 1.0.0-0


A shared tools library.

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for libzakalwe.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: grimi (AUR)

pkgname=libzakalwe
pkgver=1.0.0
pkgrel=0
pkgdesc="A shared tools library."
arch=("amd64")
url="https://gitlab.com/hors/libzakalwe"
license=("BSD-2clause")
source=("https://gitlab.com/hors/libzakalwe/-/archive/v${pkgver}/libzakalwe-v${pkgver}.tar.gz")
b2sums=('a0c7ad889e1c6b65faf723d65f8a99b53b66c6ad35f689c5ec88bb7fcab520b157a457eb8f7c6683a38667ccf437d5235e684d677e14efbf848635421e749c75')

build() {
  cd ${pkgname}-v${pkgver}
  ./configure
  make -j $(nproc) CC=gcc PREFIX=/usr
}

package() {
  cd ${pkgname}-v${pkgver}
  install -dm755 ${pkgdir}/usr/lib
  make install PREFIX=${pkgdir}/usr
  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/license
}