desktop/sddm/PKGBUILD

43 lines
1.3 KiB
Bash
Raw Normal View History

2015-09-10 15:46:30 +08:00
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/sddm
2015-05-03 16:05:32 +08:00
pkgname=sddm
2015-09-10 15:46:30 +08:00
pkgver=0.12.0
2015-09-15 12:11:57 +08:00
pkgrel=3
2015-09-10 15:46:30 +08:00
pkgdesc='QML based X11 and Wayland display manager'
2015-05-03 16:05:32 +08:00
arch=('x86_64')
url='http://github.com/sddm/sddm'
license=('GPL')
depends=('qt5-declarative')
makedepends=('cmake' 'python3-docutils' 'qt5-tools')
conflicts=('sddm-qt5-git' 'sddm-git')
provides=('sddm-qt5-git' 'sddm-git')
replaces=('sddm-qt5-git' 'sddm-git')
install="${pkgname}.install"
backup=('usr/share/sddm/scripts/Xsetup'
2015-09-15 12:11:57 +08:00
'etc/sddm.conf'
'etc/pam.d/sddm')
2015-05-03 16:05:32 +08:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz"
'sddm.conf')
2015-09-10 15:46:30 +08:00
md5sums=('e3261ac93a50c71c973cc79b85387765'
2015-09-13 17:43:40 +08:00
'e5343e5886aef3c9e043c0b1100aa659')
2015-05-03 16:05:32 +08:00
build() {
2015-07-12 10:05:21 +08:00
mkdir -p build && cd build
2015-05-03 16:05:32 +08:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
2015-09-10 15:46:30 +08:00
-DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
2015-05-03 16:05:32 +08:00
-DBUILD_MAN_PAGES=ON
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
2015-09-13 17:43:40 +08:00
# set the default configuration, with heritage as theme
2015-05-03 16:05:32 +08:00
install -m 644 -p ${srcdir}/sddm.conf ${pkgdir}/etc/
}