moved lots to gui
This commit is contained in:
parent
71b5f9a679
commit
685fe1f01b
48 changed files with 0 additions and 0 deletions
42
gui/wlroots/build.sh
Normal file
42
gui/wlroots/build.sh
Normal file
|
@ -0,0 +1,42 @@
|
|||
pkgname=wlroots
|
||||
pkgver=0.14.0
|
||||
ext="dev"
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/swaywm/wlroots/releases/download/$pkgver/wlroots-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mkdir $pkgname-$pkgver/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
meson .. \
|
||||
--buildtype=release \
|
||||
--prefix=/usr \
|
||||
--libexecdir=lib \
|
||||
-Dlibseat=enabled
|
||||
samu
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
DESTDIR=$pkgdir samu install
|
||||
rm -r $pkgdir/usr/include
|
||||
rm -r $pkgdir/usr/lib/pkgconfig
|
||||
}
|
||||
|
||||
package_dev() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
DESTDIR=$pkgdir samu install
|
||||
rm $pkgdir/usr/lib/*.so
|
||||
rm $pkgdir/usr/lib/*.so.*
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue