diff options
author | Mark Wagie | 2021-04-28 13:55:14 -0600 |
---|---|---|
committer | Mark Wagie | 2021-04-28 13:55:14 -0600 |
commit | 275762007a3ea940191a149f1ee9e4cfe773a536 (patch) | |
tree | bbb871a90d0b622b9b0a048d082cb65585b3c9d6 | |
parent | ffa660c5fd2db81102abb1200df84e32d510aca0 (diff) | |
download | aur-275762007a3ea940191a149f1ee9e4cfe773a536.tar.gz |
0.2.4
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 32 insertions, 13 deletions
@@ -1,13 +1,17 @@ pkgbase = mkusb pkgdesc = A shell script to create ISO multiboot USB flash drives that support both legacy and EFI boot - pkgver = 0.2.3 + pkgver = 0.2.4 pkgrel = 1 url = https://github.com/lilyinstarlight/mkusb arch = any license = MIT depends = bash - source = mkusb-0.2.3.tar.gz::https://github.com/lilyinstarlight/mkusb/archive/v0.2.3.tar.gz - sha256sums = 2a0808dbaf43ec37d1bf27e1471a65f30b6ea9e83eb027ef2fb6b6b7fb97a529 + depends = dosfstools + depends = grub + optdepends = dialog: required if not specifying device on command line + optdepends = syslinux: only required for FreeDOS + source = mkusb-0.2.4.tar.gz::https://github.com/lilyinstarlight/mkusb/archive/v0.2.4.tar.gz + sha256sums = c3fd9bb258dee27820d6a38dd4766db2442bcb5a2e39507e9b061f3dd011558a pkgname = mkusb diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4dab8d6386e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO @@ -1,19 +1,27 @@ -# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> - +# Maintainer: +# Contributor: Mark Wagie <mark dot wagie at tutanota dot com> +# Contributor: Dimitris Kiziridis <ragouel at outlook dot com> pkgname=mkusb -pkgver=0.2.3 +pkgver=0.2.4 pkgrel=1 pkgdesc="A shell script to create ISO multiboot USB flash drives that support both legacy and EFI boot" arch=('any') url="https://github.com/lilyinstarlight/mkusb" license=('MIT') -depends=('bash') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lilyinstarlight/mkusb/archive/v${pkgver}.tar.gz") -sha256sums=('2a0808dbaf43ec37d1bf27e1471a65f30b6ea9e83eb027ef2fb6b6b7fb97a529') +depends=('bash' 'dosfstools' 'grub') +optdepends=('dialog: required if not specifying device on command line' + 'syslinux: only required for FreeDOS') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('c3fd9bb258dee27820d6a38dd4766db2442bcb5a2e39507e9b061f3dd011558a') + +prepare() { + cd "$pkgname-$pkgver" + sed -i 's|usr/local|usr|' makefile +} package() { - cd "${pkgname}-${pkgver}" - sed -i '1s|usr/local|usr|' makefile - make DESTDIR="${pkgdir}" install - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" } |