diff --git a/PKGBUILDS/danctnix/arch-pine64-build/PKGBUILD b/PKGBUILDS/danctnix/arch-pine64-build/PKGBUILD new file mode 100644 index 00000000..842294aa --- /dev/null +++ b/PKGBUILDS/danctnix/arch-pine64-build/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: James Rose +pkgname=danctnix-arch-build +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A package to install arch-pine64-build into /opt" +arch=('any') +url="https://github.com/dreemurrs-embedded/arch-pine64-build" +license=('GPL') +depends=('devtools' 'base-devel' 'lsof' 'libarchive' 'dosfstools' 'util-linux' 'wget' 'arch-install-scripts' 'qemu-user-static' 'qemu-user-static-binfmt' 'e2fsprogs') +makedepends=('git') +source=("git+https://github.com/dreemurrs-embedded/arch-pine64-build.git") +sha256sums=('SKIP') + +build() { + cd "$srcdir/arch-pine64-build" + mv build.sh danct-build + chmod +x danct-build +} + +package() { + cd "$srcdir/arch-pine64-build" + install -Dm755 danct-build "$pkgdir/usr/bin/danct-build" + install -d "$pkgdir/opt/$pkgname" + cp -r ./* "$pkgdir/opt/$pkgname/" +} \ No newline at end of file