summaryrefslogtreecommitdiff
path: root/user/kdesvn
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-18 19:25:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-18 19:25:26 +0000
commit0bb5f34ed6ab367d44cfcaaed0289859cabb558a (patch)
treec1e03f16583dc0b12cfa8b5b8ffb043d212a7375 /user/kdesvn
parent134fd91a883b6e62366eec39a122c1ff00ff195d (diff)
downloadpackages-0bb5f34ed6ab367d44cfcaaed0289859cabb558a.tar.gz
packages-0bb5f34ed6ab367d44cfcaaed0289859cabb558a.tar.bz2
packages-0bb5f34ed6ab367d44cfcaaed0289859cabb558a.tar.xz
packages-0bb5f34ed6ab367d44cfcaaed0289859cabb558a.zip
user/kdesvn: New package
Diffstat (limited to 'user/kdesvn')
-rw-r--r--user/kdesvn/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/kdesvn/APKBUILD b/user/kdesvn/APKBUILD
new file mode 100644
index 000000000..2b348f3c2
--- /dev/null
+++ b/user/kdesvn/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kdesvn
+pkgver=2.1.0_p1
+dlver=$(echo $pkgver | sed s/_p/-/)
+pkgrel=0
+pkgdesc="Graphical Subversion version control client"
+url="https://kde.org/applications/development/org.kde.kdesvn"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="qt5-qtbase-dev cmake extra-cmake-modules kbookmarks-dev kcodecs-dev
+ kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kauth-dev
+ kdbusaddons-dev ki18n-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev
+ kio-dev knotifications-dev kparts-dev kservice-dev ktextwidgets-dev
+ kwallet-dev kwidgetsaddons-dev kxmlgui-dev apr-dev subversion-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/kdesvn/${pkgver%_*}/kdesvn-$dlver.tar.xz"
+builddir="$srcdir"/kdesvn-${pkgver%_*}
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7d651abb99420caa368dec8d58bf80fc7cf75113f4f3639035835b2cef250de9e0cffab46f3d8efbdd33220b44cea77aa42f2f2ac54874f1ea6301b4718516ca kdesvn-2.1.0-1.tar.xz"