summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8172d82cd98e4427140a586a03c707d137c37fc1 (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
# Maintainer: Mus <sonics0977703996@gmail.com>
pkgname=lane-wd
pkgver=1.0
pkgrel=1
pkgdesc="Lane Launcher that use WayDroid"
arch=('any')
url="https://github.com/musdev13/lanewd"
license=('GPL3')
depends=('waydroid' 'android-tools' 'waydroid-image' 'xdg-utils' 'wget')
makedepends=('git')
conflicts=('lane-adb')
source=("lane-wd::git+https://github.com/musdev13/lane-wd.git")
md5sums=('SKIP')

package() {
	cd "$pkgname"
	install -Dm755 ./lane "$pkgdir/usr/bin/lane"
}

post_install(){
	waydroid init
	waydroid prop set persist.waydroid.multi_windows true
	waydroid session stop
	systemctl enable waydroid-container.service
	systemctl start waydroid-container.service
	lane update
	lane quit
}