mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=libktorrent
|
|
pkgver=1.0.2
|
|
pkgrel=2
|
|
ktorver=4.0.2
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://ktorrent.org"
|
|
license=('GPL2')
|
|
depends=('kdelibs')
|
|
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kdebase-workspace')
|
|
source=(http://ktorrent.org/downloads/${ktorver}/libktorrent-${pkgver}.tar.bz2)
|
|
options=('libtool')
|
|
md5sums=('1d2a056de32db4c9e3224eac517f26bd')
|
|
|
|
build() {
|
|
cd ${srcdir}/libktorrent-1.0.2
|
|
|
|
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
# fix kde-l10n-sr - fixed in 4.5.0
|
|
rm -v ${pkgdir}/usr/share/locale/sr@ijekavian/LC_MESSAGES/libktorrent.mo
|
|
rm -v ${pkgdir}/usr/share/locale/sr@ijekavianlatin/LC_MESSAGES/libktorrent.mo
|
|
rm -v ${pkgdir}/usr/share/locale/sr@latin/LC_MESSAGES/libktorrent.mo
|
|
}
|