1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Lightdm greeter for UKUI"
9 url="https://github.com/ukui/ukui-greeter"
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')
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
23 cd ukui-greeter-$pkgver
24 qmake-qt5 PREFIX=/usr QMAKE_LFLAGS="${LDFLAGS}"
29 cd ukui-greeter-$pkgver
30 make INSTALL_ROOT="$pkgdir" install