1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-10-31 15:25:02 -04:00
arch-ppa/src/waydroid/PKGBUILD

27 lines
772 B
Bash
Raw Normal View History

2023-10-22 23:38:02 -04:00
# Maintainer: Danct12 <danct12@disroot.org>
# Contributor: Bart Ribbers <bribbers@disroot.org>
pkgname=waydroid
pkgver=1.4.1
pkgrel=1
pkgdesc="A container-based approach to boot a full Android system on a regular Linux system"
arch=('any')
url='https://waydro.id/'
license=('GPL')
depends=('lxc' 'python-gbinder' 'python-gobject' 'nftables' 'dnsmasq' 'gtk3' 'dbus-python')
makedepends=('git')
optdepends=('python-pyclip: share clipboard with container')
_commit="7ce2e28e8ea76c1e79b273d122921c1f394e842f" # tags/1.4.1
source=("waydroid::git+https://github.com/waydroid/waydroid.git#commit=$_commit")
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//;s/-/+/g'
}
package() {
make -C waydroid install DESTDIR="$pkgdir" USE_NFTABLES=1
}
sha256sums=('SKIP')