Manually install rootston inside package()
The rootston example compositor is not installed by "ninja install".
This commit is contained in:
parent
74391eabfb
commit
dbb49d5e0c
4
.SRCINFO
4
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
pkgbase = wlroots-git
|
pkgbase = wlroots-git
|
||||||
pkgdesc = Modular Wayland compositor library
|
pkgdesc = Modular Wayland compositor library
|
||||||
pkgver = r2574.8585533a
|
pkgver = r2746.9f1d6c58
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/swaywm/wlroots
|
url = https://github.com/swaywm/wlroots
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:MIT
|
license = custom:MIT
|
||||||
|
10
PKGBUILD
10
PKGBUILD
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
|
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
|
||||||
pkgname='wlroots-git'
|
pkgname='wlroots-git'
|
||||||
pkgver=r2574.8585533a
|
pkgver=r2746.9f1d6c58
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
license=('custom:MIT')
|
license=('custom:MIT')
|
||||||
pkgdesc='Modular Wayland compositor library'
|
pkgdesc='Modular Wayland compositor library'
|
||||||
url='https://github.com/swaywm/wlroots'
|
url='https://github.com/swaywm/wlroots'
|
||||||
@ -47,4 +47,10 @@ package () {
|
|||||||
cd "${pkgname}"
|
cd "${pkgname}"
|
||||||
DESTDIR="${pkgdir}" ninja -C build install
|
DESTDIR="${pkgdir}" ninja -C build install
|
||||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
|
||||||
|
# Manually install rootston, "ninja installs" skips it.
|
||||||
|
install -Dm755 build/rootston/rootston \
|
||||||
|
"${pkgdir}/usr/bin/rootston"
|
||||||
|
install -Dm755 rootston/rootston.ini.example \
|
||||||
|
"${pkgdir}/usr/share/doc/${pkgname}/rootston.ini.example"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user