blob: 9e8a960d08f99d141c983a82cb38cb1d5ed62d33 (
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
|
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
_pkgbase="sddm"
pkgname="$_pkgbase-git"
pkgver=0.13.0.10.gf19e0f3
pkgrel=1
pkgdesc="The Simple Desktop Display Manager"
arch=("i686" "x86_64")
url="https://github.com/sddm/sddm"
license=("GPL")
depends=("qt5-declarative" "upower")
makedepends=("git" "cmake" "qt5-tools" "python-docutils")
provides=("$_pkgbase" "display-manager")
conflicts=("$_pkgbase" "display-manager")
install="$_pkgbase.install"
backup=(
"usr/share/sddm/scripts/Xsetup"
"etc/sddm.conf"
)
source=("git+https://github.com/sddm/$_pkgbase.git")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$_pkgbase"
git describe --always | sed "s/^v//g" | sed "s/-/./g"
}
build() {
mkdir -p build
cd build
cmake "$srcdir/$_pkgbase" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_MAN_PAGES=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|