upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ukui-greeter / repos / community-x86_64 / PKGBUILD
blobb586c723607e027af15ffffe069c1e02270f48aa
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=ukui-greeter
4 pkgver=3.0.3
5 pkgrel=3
6 pkgdesc="Lightdm greeter for UKUI"
7 arch=('x86_64')
8 license=('GPL')
9 url="https://github.com/ukui/ukui-greeter"
10 groups=('ukui')
11 depends=('imlib2' 'liblightdm-qt5' 'libxrandr' 'libxtst' 'opencv' 'qt5-svg' 'qt5-x11extras')
12 makedepends=('qt5-tools' 'openmpi' 'pugixml' 'jsoncpp' 'fmt' 'vtk' 'glew' 'hdf5')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-greeter/archive/v$pkgver.tar.gz")
14 sha512sums=('848b0aa1d8c077507ddca5cdd56c0fd896e198f5a1885ae7f5974742c388da3d1f2052e99febaf14930248f64262e80a5cda4424de29edc4b692bb3f1e707402')
16 prepare() {
17   cd ukui-greeter-$pkgver
18   sed -i 's|target.path = /usr/sbin/|target.path = /usr/bin/|' ukui-greeter/ukui-greeter.pro
19   sed -i 's|gio-unix-2.0|glib-2.0|' ukui-greeter/BiometricAuth/giodbus.cpp
22 build() {
23   cd ukui-greeter-$pkgver
24   qmake-qt5 PREFIX=/usr QMAKE_LFLAGS="${LDFLAGS}"
25   make
28 package() {
29   cd ukui-greeter-$pkgver
30   make INSTALL_ROOT="$pkgdir" install