Skip to content
Snippets Groups Projects
Verified Commit 821fde78 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

upgpkg: 1.11.0-2: Honor LDFLAGS, install license

parent 882a87db
No related branches found
Tags 1.11.0-2
No related merge requests found
pkgbase = libcutl
pkgdesc = A C++ utility library
pkgver = 1.11.0
pkgrel = 1
pkgrel = 2
url = https://www.codesynthesis.com/projects/libcutl/
arch = x86_64
license = MIT
......
......@@ -3,7 +3,7 @@
pkgname=libcutl
pkgver=1.11.0
_xsdver=4.2
pkgrel=1
pkgrel=2
pkgdesc='A C++ utility library'
arch=(x86_64)
url='https://www.codesynthesis.com/projects/libcutl/'
......@@ -17,7 +17,7 @@ sha256sums=('bb78ff87d6cb1a2544543ffe7941f0aeb8f9dcaf7dd46e9acef3e032ed7881dc')
build() {
bpkg create -d build cc \
config.cxx=g++ \
config.cc.coptions="${CFLAGS}"
config.cc.coptions="${CXXFLAGS} ${LDFLAGS}"
cd build
bpkg add "$srcdir"/$pkgname-$pkgver --type dir
bpkg rep-fetch
......@@ -27,4 +27,6 @@ build() {
package() {
cd build
bpkg install config.install.root="$pkgdir"/usr libcutl
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment