diff options
author | Md Jahidul Hamid | 2019-10-05 14:29:47 +0600 |
---|---|---|
committer | Md Jahidul Hamid | 2019-10-05 14:29:47 +0600 |
commit | d96f9ae84fd0e6bb1c53cbb09772739ec13f9331 (patch) | |
tree | a14bc0dc1e3fff944dc7260fba958431279ecce9 /PKGBUILD | |
download | aur-chibu.tar.gz |
initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..711198d8acf3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Md. Jahidul Hamid <jahidulhamid@yahoo.com> +pkgname=chibu +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Create Hybrid ISO Bootable USB" +download_branch=release +arch=(any) +url="https://github.com/neurobin/chibu" +license=('BSD') +depends=(python systemd syslinux) +source=( "https://github.com/neurobin/$pkgname/archive/$download_branch.tar.gz" ) +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/$pkgname-$download_branch" + ./$pkgname -v | grep -P 'Version:.*' |grep -oP '[\d.]+$' +} + + +package() { + cd "$pkgname-$download_branch" + make DESTDIR="$pkgdir/" install +} |