diff options
author | acxz | 2021-01-02 14:23:34 -0500 |
---|---|---|
committer | acxz | 2021-01-02 14:23:34 -0500 |
commit | c0291657c0d5e951e0f9f595b86ea115ca5d5f6a (patch) | |
tree | 5448ab9ba00fad1fe6ae58324f56c096707406bc | |
parent | 35730590f4308ee15a2439a1fc29f3f2bffeae81 (diff) | |
download | aur-c0291657c0d5e951e0f9f595b86ea115ca5d5f6a.tar.gz |
add libname patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 15 insertions, 9 deletions
@@ -1,14 +1,16 @@ pkgbase = ignition-rendering pkgdesc = C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications. pkgver = 4.1.0 - pkgrel = 2 + pkgrel = 3 url = https://ignitionrobotics.org/libs/rendering arch = x86_64 license = Apache makedepends = cmake depends = ignition-plugin source = ignition-rendering-4.1.0.tar.gz::https://github.com/ignitionrobotics/ign-rendering/archive/ignition-rendering4_4.1.0.tar.gz + source = libname.patch::https://patch-diff.githubusercontent.com/raw/ignitionrobotics/ign-rendering/pull/193.patch sha256sums = 465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4 + sha256sums = SKIP pkgname = ignition-rendering @@ -2,7 +2,7 @@ pkgname=ignition-rendering pkgver=4.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications." arch=('x86_64') @@ -10,29 +10,33 @@ url="https://ignitionrobotics.org/libs/rendering" license=('Apache') depends=('ignition-plugin') makedepends=('cmake') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-rendering/archive/${pkgname}4_${pkgver}.tar.gz") -sha256sums=('465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-rendering/archive/${pkgname}4_${pkgver}.tar.gz" + "libname.patch::https://patch-diff.githubusercontent.com/raw/ignitionrobotics/ign-rendering/pull/193.patch") +sha256sums=('465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4' + 'SKIP') _dir="ign-rendering-${pkgname}4_${pkgver}" +prepare() { + cd "$srcdir/$_dir" + patch --forward --strip=1 --input="${srcdir}/libname.patch" +} + build() { cd "$srcdir/$_dir" mkdir -p build cd build - # Configure build cmake .. -DCMAKE_BUILD_TYPE="Release" \ - -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_LIBDIR="lib" \ -DBUILD_TESTING=OFF - # Compile make } package() { cd "$srcdir/$_dir/build" - #make DESTDIR="$pkgdir/" install - make install + make DESTDIR="$pkgdir/" install } |