diff options
author | Arvid Norlander | 2022-06-08 15:48:53 +0200 |
---|---|---|
committer | Arvid Norlander | 2022-06-08 15:51:30 +0200 |
commit | 2a9ab6ed9f442a8438ca1daab19b03c0d9066954 (patch) | |
tree | 43353d59eba12bbd6206f96077da20b1f9d63273 | |
download | aur-2a9ab6ed9f442a8438ca1daab19b03c0d9066954.tar.gz |
Initial import of version 0.42
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cde5d4ba0619 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = greaseweazle + pkgdesc = Tools for accessing a floppy drive at the raw flux level + pkgver = 0.42 + pkgrel = 1 + url = https://github.com/keirf/greaseweazle + arch = x86_64 + license = Unlicense + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + makedepends = python-setuptools-scm + depends = python + depends = python-crcmod + depends = python-bitarray + depends = python-pyserial + depends = python-requests + source = https://github.com/keirf/greaseweazle/releases/download/v0.42/greaseweazle-0.42.zip + sha256sums = f72457a5f4a4bc17ac4dd3457de85fddd0416cc6a56ac7e47fd2898379e7fbb8 + +pkgname = greaseweazle diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b4607239c346 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.zst +*.zip +/pkg/ +/src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ec079f62bf3d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Arvid Norlander <VorpalBlade (at) users DOT noreply DOT github DOT com> +pkgname=greaseweazle +pkgver=0.42 +pkgrel=1 +epoch= +pkgdesc="Tools for accessing a floppy drive at the raw flux level" +arch=('x86_64') +url="https://github.com/keirf/greaseweazle" +license=('Unlicense') +makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm') +depends=('python' 'python-crcmod' 'python-bitarray' 'python-pyserial' 'python-requests') +install= +source=("https://github.com/keirf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.zip") +sha256sums=('f72457a5f4a4bc17ac4dd3457de85fddd0416cc6a56ac7e47fd2898379e7fbb8') + +build() { + cd "$pkgname-$pkgver" + python -m build --wheel --no-isolation +} + +package() { + cd "$pkgname-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl + + install -Dm644 scripts/49-greaseweazle.rules "$pkgdir/usr/lib/udev/rules" +} |