kde/plasma-angelfish: update to latest git master (!214)

Also cleaned up the packaging by removing unnecessary cmake variables
This commit is contained in:
PureTryOut 2019-02-11 17:25:00 +01:00 committed by Oliver Smith
parent e274604193
commit 2958364ce0
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,9 +1,9 @@
# Contributor: Jonah Brüchert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-angelfish
pkgver=0_git20190105
pkgver=0_git20190208
pkgrel=0
_commit="bad30c68046d37c34f6b40df677212c9b71e6164"
_commit="382cf2dbb434cdee572b451daf86810f448be5a0"
pkgdesc="Small Webbrowser for Plasma Mobile"
url="https://phabricator.kde.org/source/plasma-angelfish/"
arch="all"
@ -19,23 +19,17 @@ prepare() {
build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake "$builddir"/.. \
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS}
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" make install
}
sha512sums="99df4a4f5cd0307ce3a4409f5ff91a10dfd96dfbdf6453336caec48b593454263182049abb4b010741080e4b07f96010f65aa3874fc641f3ddad883c5941183d plasma-angelfish-bad30c68046d37c34f6b40df677212c9b71e6164.tar.gz"
sha512sums="62c9be99752c425d9b1b19ce061a29be1c22a72e4a82f7441e9e2c248b62241026f6b992bb193e4b29ce199b78fd8ecad3b716accf5088fd8ce16f553791822e plasma-angelfish-382cf2dbb434cdee572b451daf86810f448be5a0.tar.gz"