* update xdg-utils-cxx to 1.0.1-3
This commit is contained in:
parent
f9eac32b7e
commit
7cb790ebb4
13
xdg-utils-cxx/.SRCINFO
Normal file
13
xdg-utils-cxx/.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
pkgbase = xdg-utils-cxx
|
||||||
|
pkgdesc = Implementation of the FreeDesktop specifications to be used in C++ projects
|
||||||
|
pkgver = 1.0.1
|
||||||
|
pkgrel = 3
|
||||||
|
url = https://github.com/azubieta/xdg-utils-cxx
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = git
|
||||||
|
source = git+https://github.com/azubieta/xdg-utils-cxx#tag=v1.0.1
|
||||||
|
sha256sums = a2bdc431c6962ff4e8c5be06c8355ce0b212e3f3e79c8ef1ebff5ef280e2ab5c
|
||||||
|
|
||||||
|
pkgname = xdg-utils-cxx
|
5
xdg-utils-cxx/.nvchecker.toml
Normal file
5
xdg-utils-cxx/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[xdg-utils-cxx]
|
||||||
|
source = 'github'
|
||||||
|
github = 'azubieta/xdg-utils-cxx'
|
||||||
|
use_max_tag = true
|
||||||
|
prefix = 'v'
|
@ -3,18 +3,19 @@
|
|||||||
|
|
||||||
pkgname=xdg-utils-cxx
|
pkgname=xdg-utils-cxx
|
||||||
pkgver=1.0.1
|
pkgver=1.0.1
|
||||||
pkgrel=2.1
|
pkgrel=3
|
||||||
pkgdesc='Implementation of the FreeDesktop specifications to be used in C++ projects'
|
pkgdesc='Implementation of the FreeDesktop specifications to be used in C++ projects'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url='https://github.com/azubieta/xdg-utils-cxx'
|
url='https://github.com/azubieta/xdg-utils-cxx'
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
depends=()
|
depends=()
|
||||||
makedepends=(cmake)
|
makedepends=(cmake
|
||||||
source=(https://github.com/azubieta/xdg-utils-cxx/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
git)
|
||||||
sha256sums=('2cdeda2385faa0ce496a5b276f5145f2dfb3f67ee77789cf8f57752abc83e69b')
|
source=(git+https://github.com/azubieta/xdg-utils-cxx#tag=v$pkgver)
|
||||||
|
sha256sums=('a2bdc431c6962ff4e8c5be06c8355ce0b212e3f3e79c8ef1ebff5ef280e2ab5c')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S $pkgname-$pkgver \
|
cmake -B build -S $pkgname \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC -ffat-lto-objects"
|
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC -ffat-lto-objects"
|
||||||
@ -24,5 +25,5 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
DESTDIR="$pkgdir" cmake --install build
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user