2015-12-10 05:06:13 +02:00
|
|
|
# $Id:
|
|
|
|
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
|
|
|
|
|
|
|
pkgname=katie-git
|
2020-02-04 10:33:29 +01:00
|
|
|
pkgver=4.9.0.rc18.r16.gea38d0ce
|
2016-03-07 16:27:07 +00:00
|
|
|
pkgrel=1
|
2015-12-10 08:56:10 +02:00
|
|
|
pkgdesc='C++ toolkit derived from the Qt 4.8 framework'
|
2020-01-01 06:24:25 +00:00
|
|
|
arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
|
2015-12-10 08:56:10 +02:00
|
|
|
url='https://github.com/fluxer/katie'
|
2020-11-19 03:15:53 +02:00
|
|
|
license=('LGPL' 'custom')
|
2020-04-02 07:03:35 +00:00
|
|
|
depends=('libsm' 'libxcursor' 'libxinerama' 'icu' 'libcups' 'libxrandr' 'sqlite' 'fontconfig')
|
2019-07-28 13:09:34 +00:00
|
|
|
makedepends=('cmake' 'git' 'postgresql' 'libmariadbclient' 'unixodbc' 'unifdef')
|
2015-12-10 05:06:13 +02:00
|
|
|
optdepends=('postgresql-libs: PostgreSQL driver'
|
|
|
|
'libmariadbclient: MariaDB driver'
|
2019-05-06 20:39:55 +00:00
|
|
|
'unixodbc: ODBC driver')
|
2015-12-10 08:56:10 +02:00
|
|
|
source=("git+https://github.com/fluxer/katie")
|
2015-12-10 05:06:13 +02:00
|
|
|
sha1sums=('SKIP')
|
|
|
|
conflicts=('katie')
|
|
|
|
# options=('debug')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd katie
|
2020-01-29 11:34:21 +01:00
|
|
|
#printf "4.9.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
2015-12-10 05:06:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake ../katie \
|
|
|
|
-Wno-dev \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2016-04-26 02:19:24 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2020-03-08 23:17:18 +00:00
|
|
|
-DKATIE_LDCONF_PATH=/etc/ld.so.conf.d \
|
|
|
|
-DKATIE_PROFILE_PATH=/etc/profile.d \
|
2017-05-04 15:52:08 +00:00
|
|
|
-DKATIE_TOOLS_SUFFIX="-katie" \
|
2019-07-24 11:04:37 +00:00
|
|
|
-DKATIE_ALLINONE=ON
|
2015-12-10 05:06:13 +02:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
install -vDm644 ../katie/LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}/usr/share/licenses/katie-git/LGPL_EXCEPTION.txt"
|
|
|
|
}
|