Peter Jung pushed to branch main at Arch Linux / Packaging / Packages / libsfdo


Commits:
d506954e by Peter Jung at 2024-12-26T21:12:25+01:00
upgpkg: 0.1.3-2, refactor PKGBUILD, add maintainer

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
 pkgbase = libsfdo
        pkgdesc = collection of libraries which implement some of the 
freedesktop.org specifications
        pkgver = 0.1.3
-       pkgrel = 1
+       pkgrel = 2
        url = https://gitlab.freedesktop.org/vyivel/libsfdo
        arch = x86_64
        license = BSD-2-Clause
        makedepends = meson
+       makedepends = git
        depends = glibc
-       source = 
libsfdo-0.1.3.tar.gz::https://gitlab.freedesktop.org/vyivel/libsfdo/-/archive/v0.1.3/libsfdo-v0.1.3.tar.gz
-       b2sums = 
f89502b0bcc5029a693808f5390e821a92852da17a716974e81a114069b65795b3f67dd018e0459d139521efb44252d55f6518952d6cd0def9e74b8931ae2aaf
+       source = git+https://gitlab.freedesktop.org/vyivel/libsfdo#tag=v0.1.3
+       b2sums = 
6944af537299654b309fa0d625b2ccf4fdc11d5e5593b90379dcb0c6b73cca8a7b0bbc304731ca4722f85e702aee4f454f3b1217782e41c58afd13c7e47a4a24
 
 pkgname = libsfdo


=====================================
PKGBUILD
=====================================
@@ -1,23 +1,25 @@
-# Maintainer: Lex Black <autumn-w...@web.de>
+# Maintainer: Peter Jung <ptr1...@archlinux.org>
+# Contributor: Lex Black <autumn-w...@web.de>
 
 pkgname=libsfdo
 pkgver=0.1.3
-pkgrel=1
+pkgrel=2
 pkgdesc='collection of libraries which implement some of the freedesktop.org 
specifications'
 url="https://gitlab.freedesktop.org/vyivel/libsfdo";
 arch=('x86_64')
 license=('BSD-2-Clause')
 depends=('glibc')
-makedepends=('meson')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-b2sums=('f89502b0bcc5029a693808f5390e821a92852da17a716974e81a114069b65795b3f67dd018e0459d139521efb44252d55f6518952d6cd0def9e74b8931ae2aaf')
+makedepends=('meson' 'git')
+source=("git+https://gitlab.freedesktop.org/vyivel/libsfdo#tag=v${pkgver}";)
+b2sums=('6944af537299654b309fa0d625b2ccf4fdc11d5e5593b90379dcb0c6b73cca8a7b0bbc304731ca4722f85e702aee4f454f3b1217782e41c58afd13c7e47a4a24')
 
 
 build() {
-  arch-meson "$pkgname-v$pkgver" build
+  arch-meson "$pkgname" build
   meson compile -C build
 }
 
 package() {
   meson install -C build --destdir "$pkgdir"
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" 
"$srcdir"/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libsfdo/-/commit/d506954e70fc379e378eb6a537c40517744d01d3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libsfdo/-/commit/d506954e70fc379e378eb6a537c40517744d01d3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to