blob: 0659e884b830b56cc64213d84d50560789b2c12d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: Oleg Shparber <trollixx+aur@gmail.com>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
_pkgbase=quassel
_pkgname=quassel-core-small
pkgname=('quassel-core-small-git')
pkgver=0.14.rc1.r0.gc7886cee
pkgrel=1
pkgdesc="Next-generation distributed IRC client - core only, minimal dependencies"
arch=('x86_64')
url="https://quassel-irc.org/"
license=('GPL')
depends=('qt5-base-headless' 'qca' 'qt5-script')
optdepends=('postgresql: PostgreSQL database support')
makedepends=('qt5-tools' 'cmake' 'extra-cmake-modules' 'ninja' 'boost' 'git')
provides=('quassel-core' "$_pkgname")
conflicts=('quassel-core' "$_pkgname")
backup=(etc/conf.d/quassel)
source=("git+https://github.com/$_pkgbase/$_pkgbase.git"
${_pkgbase}.service
${_pkgbase}.sysusers
${_pkgbase}.tmpfiles
${_pkgbase}.conf)
sha256sums=('SKIP'
'0f5adfcaf9a640a795255d6bb82d6242882a1106a7b53b86bcbee6cc1e704241'
'3c72441a99e2668c6a8a751fa07beeb44f937576c8a1b5f615e4a55f841d93d9'
'2afd4340c7713f6533e5d175a86b28fd118ecd907776c2b10925d1a4fb31cdca'
'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
pkgver() {
cd "$_pkgbase"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() (
mkdir -p "build"
cd "build"
cmake -G Ninja ../"$_pkgbase" \
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DCMAKE_BUILD_TYPE=Release \
-DHAVE_SSL=ON \
-DWITH_KDE=OFF \
-DWITH_LDAP=OFF \
-DWITH_WEBENGINE=OFF \
-DWITH_WEBKIT=OFF \
-DUSE_QT5=ON \
-DWANT_CORE=ON \
-DWANT_QTCLIENT=OFF \
-DWANT_MONO=OFF \
-DWITH_BUNDLED_ICONS=OFF \
-Wno-dev
cmake --build .
)
package() {
DESTDIR="${pkgdir}" cmake --build "build" --target install
# Remove unneeded pixmap icons
rm -rfv "${pkgdir}"/usr/share
install -Dm644 $_pkgbase.sysusers \
"${pkgdir}"/usr/lib/sysusers.d/$_pkgbase.conf
install -Dm644 $_pkgbase.tmpfiles \
"${pkgdir}"/usr/lib/tmpfiles.d/$_pkgbase.conf
install -Dm644 $_pkgbase.service \
"${pkgdir}"/usr/lib/systemd/system/$_pkgbase.service
install -Dm644 $_pkgbase.conf \
"${pkgdir}"/etc/conf.d/$_pkgbase
}
|