diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-10-28 01:38:39 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-10-28 06:51:54 +0200 |
commit | 0efff2a27d4255f27d967351ee52089b5d9c39c1 (patch) | |
tree | be5fcaebac660000f93bbc5a45383cc4ce1b26b1 /arch/tde-extra/tde-tdeio-locate | |
parent | b5b568ce2f45981161aa438622004799aa3f7a4d (diff) | |
download | tde-packaging-ea5a62ee35779ed5c721278b0ba416173b5e6785.tar.gz tde-packaging-ea5a62ee35779ed5c721278b0ba416173b5e6785.zip |
ArchLinux: Update for final R14.0.13.r14.0.13
Add aarch64 and armv7h to architectures.
Add pkgbuilds for several applications.
Add pkgbuild for libkipi library.
Add pkgbuilds for dependencies.
Remove dependence on Python 2.
Remove backported patches.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ddc027255b1bafb5c0544a60947b7c448140e384)
Diffstat (limited to 'arch/tde-extra/tde-tdeio-locate')
-rw-r--r-- | arch/tde-extra/tde-tdeio-locate/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/tde-extra/tde-tdeio-locate/PKGBUILD b/arch/tde-extra/tde-tdeio-locate/PKGBUILD new file mode 100644 index 000000000..71f9c6b63 --- /dev/null +++ b/arch/tde-extra/tde-tdeio-locate/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +_mod=tdeio-locate +_cat=applications/tdeio/ +_kdemod="${_mod/tde/kde}" + +pkgname="tde-${_mod}" +pkgver=14.0.13 +pkgrel=1 +pkgdesc="tdeio-slave for the locate command" +arch=('i686' 'x86_64' 'aarch64' 'armv7h') +url="https://scm.trinitydesktop.org/scm/git/${_mod}" +license=('GPL') +provides=("${_mod}") +groups=('tde-complete') +depends=( + 'tde-tdelibs' +) +makedepends=( + 'tde-cmake-trinity' +) +optdepends=() +conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}") +replaces=("trinity-${_mod}") +options=('staticlibs' 'libtool' '!strip') +install= + +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz") +md5sums=('ca967bcdeda782b8df18f8e1bf0c4af3') + +[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity +[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3 + +build() { + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p "$srcdir/build" + cd "$srcdir/build" + + msg "Starting cmake..." + cmake ${srcdir}/${_mod}-trinity-${pkgver} \ + -GNinja \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ + -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON + + msg "Building - ${pkgname}..." + ninja $NUMJOBS +} + +package() { + msg "Packaging - ${pkgname}-${pkgver}" + cd "$srcdir/build" + DESTDIR="$pkgdir" ninja -j1 install +} |