Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
dbc-parser-cpp
Commits:
08d9cf82 by Antonio Rojas at 2024-06-28T08:03:05+02:00
upgpkg: 0.5.0-1: Update to 0.5.0
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
pkgbase = dbc-parser-cpp
pkgdesc = A DBC file parsing library written in C++
- pkgver = 0.4.0
+ pkgver = 0.5.0
pkgrel = 1
url = https://github.com/LinuxDevon/dbc_parser_cpp
arch = x86_64
license = MIT
makedepends = cmake
makedepends = fast_float
- source =
https://github.com/LinuxDevon/dbc_parser_cpp/archive/v0.4.0/dbc-parser-cpp-0.4.0.tar.gz
- sha256sums =
af60cc8cfd7aa6345f724cc96e09d0b805df81797ba69e52faca6e6af4fde497
+ makedepends = git
+ source = git+https://github.com/LinuxDevon/dbc_parser_cpp#tag=v0.5.0
+ sha256sums =
5c5a5bdf52c1976b9dce263634fe4b78ddb07dac766f51b008760f6d7f440de3
pkgname = dbc-parser-cpp
=====================================
PKGBUILD
=====================================
@@ -1,20 +1,21 @@
# Maintainer: Antonio Rojas <[email protected]>
pkgname=dbc-parser-cpp
-pkgver=0.4.0
+pkgver=0.5.0
pkgrel=1
pkgdesc='A DBC file parsing library written in C++'
arch=(x86_64)
license=(MIT)
url='https://github.com/LinuxDevon/dbc_parser_cpp'
depends=()
-makedepends=(cmake
- fast_float)
-source=(https://github.com/LinuxDevon/dbc_parser_cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('af60cc8cfd7aa6345f724cc96e09d0b805df81797ba69e52faca6e6af4fde497')
+makedepends=(cmake
+ fast_float
+ git)
+source=(git+https://github.com/LinuxDevon/dbc_parser_cpp#tag=v$pkgver)
+sha256sums=('5c5a5bdf52c1976b9dce263634fe4b78ddb07dac766f51b008760f6d7f440de3')
build() {
- cmake -B build -S ${pkgname//-/_}-$pkgver \
+ cmake -B build -S ${pkgname//-/_} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_INCLUDEDIR=include \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -25,5 +26,5 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
- install -Dm644 ${pkgname//-/_}-$pkgver/LICENSE -t
"$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm644 ${pkgname//-/_}/LICENSE -t
"$pkgdir"/usr/share/licenses/$pkgname
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/dbc-parser-cpp/-/commit/08d9cf827a762a023e8e0e07d290ba2f29dc1fbe
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/dbc-parser-cpp/-/commit/08d9cf827a762a023e8e0e07d290ba2f29dc1fbe
You're receiving this email because of your account on gitlab.archlinux.org.