Add aport for angelfish
This commit is contained in:
parent
175645e74b
commit
779ac2fd7e
40
kde/plasma-angelfish/APKBUILD
Normal file
40
kde/plasma-angelfish/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Contributor: Jonah Brüchert <jbb@kaidan.im>
|
||||
pkgname=plasma-angelfish
|
||||
pkgver=0.20180828
|
||||
_commit=f86a7385161887dc698b69b367f0b2e7013dd968
|
||||
pkgrel=0
|
||||
pkgdesc="Small Webbrowser for Plasma Mobile"
|
||||
url="https://phabricator.kde.org/source/plasma-angelfish/"
|
||||
arch="all"
|
||||
license="GPLv3"
|
||||
depends="kirigami2 plasma-framework"
|
||||
makedepends="cmake qt5-qtwebengine-dev kdeclarative-dev kirigami2-dev plasma-framework-dev kio-dev ki18n-dev extra-cmake-modules"
|
||||
install=""
|
||||
source="https://github.com/KDE/$pkgname/archive/$_commit.tar.gz"
|
||||
|
||||
prepare() {
|
||||
mkdir "$builddir"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
if [ "$CBUILD" != "$CHOST" ]; then
|
||||
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
||||
fi
|
||||
cmake "$srcdir"/$pkgname-$_commit \
|
||||
-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}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="ab6d4e439abd6c1d68fd5d8bd28132370014bd18f5b580919e22b3aabd39bcf4166747e21c229f5cda5e61f0ac5a1cbb3e616283acc5e6affd6a372e671518b5 f86a7385161887dc698b69b367f0b2e7013dd968.tar.gz"
|
|
@ -9,7 +9,8 @@ license="GPL3+"
|
|||
depends="plasma-phone-components dbus dbus-x11 qmltermwidget plasma-settings
|
||||
breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard
|
||||
plasma-camera elisa pulseaudio pulseaudio-utils consolekit2 powerdevil
|
||||
polkit-kde-agent kwayland-integration postmarketos-artwork-wallpapers"
|
||||
polkit-kde-agent kwayland-integration postmarketos-artwork-wallpapers
|
||||
plasma-angelfish"
|
||||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
subpackages=""
|
||||
|
|
Loading…
Reference in New Issue
Block a user