diff --git a/waydroid/.SRCINFO b/waydroid/.SRCINFO new file mode 100644 index 0000000..a57d639 --- /dev/null +++ b/waydroid/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = waydroid + pkgdesc = A container-based approach to boot a full Android system on a regular Linux system + pkgver = 1.2.0 + pkgrel = 1 + url = https://github.com/waydroid + arch = any + license = GPL + makedepends = git + depends = lxc + depends = python + depends = python-gbinder + depends = python-gobject + depends = nftables + depends = dnsmasq + optdepends = waydroid-image: Android image for use with waydroid + optdepends = python-pyclip: share clipboard with container + source = waydroid::git+https://github.com/waydroid/waydroid.git#commit=9a87b10bbfd9cc04c8259207233fadad9acbf5d3 + source = gbinder.conf + sha256sums = SKIP + sha256sums = 87a21d401281735ea026d715ea79b36e01f9af084198de2761b32d5b58a343dd + +pkgname = waydroid diff --git a/waydroid/.gitrepo b/waydroid/.gitrepo new file mode 100644 index 0000000..9a19c60 --- /dev/null +++ b/waydroid/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/waydroid.git + branch = master + commit = 8a4b43c41d5a5829210edf6f4c858151ec3d234b + parent = 55ec747a84c987167218a1772a3fe2f4a8bd7a1f + method = merge + cmdver = 0.4.3 diff --git a/waydroid/PKGBUILD b/waydroid/PKGBUILD new file mode 100644 index 0000000..d61801b --- /dev/null +++ b/waydroid/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Danct12 +# Contributor: Bart Ribbers + +pkgname=waydroid +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A container-based approach to boot a full Android system on a regular Linux system" +arch=('any') +url='https://github.com/waydroid' +license=('GPL') +depends=('lxc' 'python' 'python-gbinder' 'python-gobject' 'nftables' 'dnsmasq') +makedepends=('git') +optdepends=('waydroid-image: Android image for use with waydroid' + 'python-pyclip: share clipboard with container') +_commit="9a87b10bbfd9cc04c8259207233fadad9acbf5d3" # tags/1.2.0 +source=("waydroid::git+https://github.com/waydroid/waydroid.git#commit=$_commit" + gbinder.conf) + +pkgver() { + cd "$pkgname" + git describe --tags | sed 's/^v//;s/-/+/g' +} + +package() { + cd waydroid + install -dm755 "$pkgdir/usr/lib/waydroid" + install -dm755 "$pkgdir/usr/share/applications" + install -dm755 "$pkgdir/usr/bin" + cp -r tools data "$pkgdir/usr/lib/waydroid/" + mv "$pkgdir/usr/lib/waydroid/data/Waydroid.desktop" "$pkgdir/usr/share/applications" + cp waydroid.py "$pkgdir/usr/lib/waydroid/" + ln -s /usr/lib/waydroid/waydroid.py "$pkgdir/usr/bin/waydroid" + + install -Dm644 -t "$pkgdir/etc" "$srcdir/gbinder.conf" + install -Dm644 -t "$pkgdir/etc/gbinder.d" gbinder/anbox.conf + install -Dm644 -t "$pkgdir/usr/lib/systemd/system" debian/waydroid-container.service +} + +sha256sums=('SKIP' + '87a21d401281735ea026d715ea79b36e01f9af084198de2761b32d5b58a343dd') diff --git a/waydroid/gbinder.conf b/waydroid/gbinder.conf new file mode 100644 index 0000000..a95692f --- /dev/null +++ b/waydroid/gbinder.conf @@ -0,0 +1,2 @@ +[General] +ApiLevel = 29