git subrepo clone --branch=master https://aur.archlinux.org/tllist.git

subrepo:
  subdir:   "tllist"
  merged:   "4272b4f"
upstream:
  origin:   "https://aur.archlinux.org/tllist.git"
  branch:   "master"
  commit:   "4272b4f"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2021-08-04 21:22:14 +02:00
parent 2e56cc4855
commit bcdc51dd43
4 changed files with 58 additions and 0 deletions

16
tllist/.SRCINFO Normal file

@ -0,0 +1,16 @@
pkgbase = tllist
pkgdesc = A typed linked list C header file only library
pkgver = 1.0.5
pkgrel = 2
url = https://codeberg.org/dnkl/tllist
arch = x86_64
arch = aarch64
license = MIT
makedepends = git
makedepends = meson
makedepends = ninja
source = tllist-1.0.5.tar.gz::https://codeberg.org/dnkl/tllist/archive/1.0.5.tar.gz
sha512sums = e8d55a727de56956c6823297e92ba4656292096ece7d22f3d8834b86811ede9b2fdca580bea55e0beda35322f418140357770592d85c0c07ea09c1642c7ff1e9
pkgname = tllist

7
tllist/.gitignore vendored Normal file

@ -0,0 +1,7 @@
# Whitelist
!PKGBUILD
!.SRCINFO
# Blacklist
*

12
tllist/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/tllist.git
branch = master
commit = 4272b4fdaac169d9251aa740d62e5825c28b5a71
parent = 2e56cc4855bd374e39848abc629fd6a9604371a8
method = merge
cmdver = 0.4.3

23
tllist/PKGBUILD Normal file

@ -0,0 +1,23 @@
# Maintainer: lmartinez
pkgname=tllist
pkgver=1.0.5
pkgrel=2
pkgdesc="A typed linked list C header file only library"
arch=('x86_64' 'aarch64')
url="https://codeberg.org/dnkl/tllist"
license=('MIT')
makedepends=('git' 'meson' 'ninja')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('e8d55a727de56956c6823297e92ba4656292096ece7d22f3d8834b86811ede9b2fdca580bea55e0beda35322f418140357770592d85c0c07ea09c1642c7ff1e9')
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"
}