makedeb


libtllist-dev-bin 1.1.0-2


A typed linked list C header file only library

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for libtllist-dev-bin.

# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=libtllist-dev-bin
_pkgname=tllist
pkgver=1.1.0
pkgrel=2
pkgdesc="A typed linked list C header file only library"
arch=('amd64' 'aarch64')
url="https://codeberg.org/dnkl/tllist"
license=('MIT')
provides=('libtllist-dev')
conflicts=('libtllist-dev')
makedepends=('git' 'meson' 'ninja-build')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha512sums=('9aade353a3ce4edf5ddc4ef85c1926343d9f88c9c8ee3994f0df89eefeb3b3e0ab168cf0c9a2ca4a858215c2a328462d4b5bf182134b5deb3b3a0e15af4006fe')

build() {
  cd "${_pkgname}"
  meson --prefix=/usr --buildtype=release build
  ninja -C build
}

package() {
  cd "${_pkgname}"
  DESTDIR="${pkgdir}/" ninja -C build install
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}