diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 5 insertions, 24 deletions
@@ -1,16 +1,17 @@ # Maintainer: Iwan Timmer <irtimmer@gmail.com> -pkgname=('anbox-git' 'anbox-modules-dkms-git') +pkgname=anbox-git _pkgname=anbox -pkgver=r1240.c1e7550 +pkgver=r1292.7f1bfaf pkgrel=1 epoch=1 arch=('x86_64') url="http://anbox.io/" license=('GPL3') +pkgdesc="Running Android in a container" +depends=('lxc' 'sdl2_image' 'protobuf' 'anbox-image' 'libsystemd' 'boost-libs') makedepends=('cmake' 'git' 'glm' 'lxc' 'sdl2_image' 'protobuf' 'boost' 'properties-cpp' 'gtest' 'python2') source=("git+https://github.com/anbox/anbox.git" - "git+https://github.com/anbox/anbox-modules.git" "git+https://github.com/google/cpu_features.git" "git+https://github.com/Kistler-Group/sdbus-cpp.git" 'anbox-container-manager.service' @@ -23,7 +24,6 @@ source=("git+https://github.com/anbox/anbox.git" sha256sums=('SKIP' 'SKIP' 'SKIP' - 'SKIP' '5be94b63dc30d141f15ca7d1be6e3e81f26ef33f844614975537562f5d08236c' '1f22dbb5a3ca6925bbf62899cd0f0bbaa0b77c879adcdd12ff9d43adfa61b1d8' '210eb93342228168f7bb632c8b93d9bfda6f53f62459a6b74987fa1e17530475' @@ -61,11 +61,7 @@ build() { make } -package_anbox-git() { - depends=('lxc' 'sdl2_image' 'protobuf' 'anbox-image' 'libsystemd' 'boost-libs') - optdepends=('anbox-modules-dkms-git: Required Android kernel modules') - pkgdesc="Running Android in a container" - +package() { cd "$srcdir/${_pkgname}" make -C build DESTDIR="$pkgdir" install @@ -77,18 +73,3 @@ package_anbox-git() { install -Dm 644 -t $pkgdir/usr/share/applications $srcdir/anbox.desktop install -Dm 644 snap/gui/icon.png $pkgdir/usr/share/pixmaps/anbox.png } - -package_anbox-modules-dkms-git() { - pkgdesc="Required kernel module sources for Android" - depends=('dkms') - arch=('any') - - cd "$srcdir/anbox-modules" - modules=(ashmem binder) - for mod in "${modules[@]}"; do - install -dm 755 $pkgdir/usr/src - cp -a $mod $pkgdir/usr/src/anbox-modules-$mod-$pkgver - done; - - install -Dm 644 -t $pkgdir/usr/lib/modules-load.d $srcdir/anbox.conf -} |