Last active
August 29, 2015 14:02
-
-
Save ccaapton/e357a23c0e8775e05a3c to your computer and use it in GitHub Desktop.
The filesystem layout for chroots in Chrome OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is an example PKGBUILD file. Use this as a start to creating your own, | |
| # and remove these comments. For more information, see 'man PKGBUILD'. | |
| # NOTE: Please fill out the license field for your package! If it is unknown, | |
| # then please put 'unknown'. | |
| # Maintainer: Your Name <youremail@domain.com> | |
| pkgname=chroagh-filesystem | |
| pkgver=0.1 | |
| pkgrel=1 | |
| epoch= | |
| pkgdesc="The filesystem layout for chroots in Chrome OS" | |
| arch=('any') | |
| url="" | |
| license=('BSD') | |
| groups=() | |
| depends=() | |
| makedepends=() | |
| checkdepends=() | |
| optdepends=( | |
| 'chroagh-xserver: Utilize host X11 server on Chrome OS' | |
| ) | |
| provides=('linux' 'linux-headers') | |
| conflicts=() | |
| replaces=() | |
| backup=() | |
| md5sums=() #generate with 'makepkg -g' | |
| prepare() { | |
| cd "$srcdir" | |
| } | |
| build() { | |
| cd "$srcdir" | |
| } | |
| check() { | |
| cd "$srcdir" | |
| } | |
| package() { | |
| mkdir -p "$pkgdir/var/host" | |
| mkdir -p "$pkgdir/var/host/media" | |
| mkdir -p "$pkgdir/var/host/dbus" | |
| mkdir -p "$pkgdir/var/host/cras" | |
| mkdir -p "$pkgdir/var/host/timezone" | |
| touch "$pkgdir/var/host/Xauthority" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment