[arch-commits] Commit in intel-gmmlib/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Oct 23 17:48:18 UTC 2018
Date: Tuesday, October 23, 2018 @ 17:48:18
Author: archange
Revision: 398701
Update PKGBUILD to suit other Intel projects
Modified:
intel-gmmlib/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-23 17:47:28 UTC (rev 398700)
+++ PKGBUILD 2018-10-23 17:48:18 UTC (rev 398701)
@@ -14,7 +14,7 @@
conflicts=('gmmlib')
replaces=('gmmlib')
options=('!emptydirs')
-source=("https://github.com/intel/gmmlib/archive/${pkgname}-${pkgver}.tar.gz")
+source=("https://github.com/${pkgname/-//}/archive/${pkgname}-${pkgver}.tar.gz")
sha256sums=('e3114d7ddd429f1b9aa43a1b1d0086d881fbf4d90e4a90ab8577c369d2e3a5e1')
prepare() {
@@ -23,7 +23,7 @@
build() {
cd build
- cmake ../gmmlib-${pkgname}-${pkgver} \
+ cmake ../${pkgname#*-}-${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -35,5 +35,5 @@
package() {
cd build
make DESTDIR="${pkgdir}" install
- install -Dm644 ../gmmlib-${pkgname}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ install -Dm644 ../${pkgname#*-}-${pkgname}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
}
More information about the arch-commits
mailing list