summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvid Norlander2022-06-09 16:54:50 +0200
committerArvid Norlander2022-06-09 16:54:50 +0200
commitf24b8fc8a0306e7805c61a48dc4fcaf309040567 (patch)
treef1de8f97329566a6638146fb8f216c1b73185f64
parent2a9ab6ed9f442a8438ca1daab19b03c0d9066954 (diff)
downloadaur-f24b8fc8a0306e7805c61a48dc4fcaf309040567.tar.gz
Add optional dependency.
-rw-r--r--.SRCINFO3
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD4
3 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cde5d4ba0619..4641ff998dc0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = greaseweazle
pkgdesc = Tools for accessing a floppy drive at the raw flux level
pkgver = 0.42
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/keirf/greaseweazle
arch = x86_64
license = Unlicense
@@ -14,6 +14,7 @@ pkgbase = greaseweazle
depends = python-bitarray
depends = python-pyserial
depends = python-requests
+ optdepends = capsimage: Read IPF files
source = https://github.com/keirf/greaseweazle/releases/download/v0.42/greaseweazle-0.42.zip
sha256sums = f72457a5f4a4bc17ac4dd3457de85fddd0416cc6a56ac7e47fd2898379e7fbb8
diff --git a/.gitignore b/.gitignore
index b4607239c346..2fa9e461d39a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+*.log
*.tar.zst
*.zip
/pkg/
diff --git a/PKGBUILD b/PKGBUILD
index ec079f62bf3d..49ef05ddc720 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Arvid Norlander <VorpalBlade (at) users DOT noreply DOT github DOT com>
pkgname=greaseweazle
pkgver=0.42
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Tools for accessing a floppy drive at the raw flux level"
arch=('x86_64')
@@ -9,7 +9,7 @@ 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=
+optdepends=('capsimage: Read IPF files')
source=("https://github.com/keirf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.zip")
sha256sums=('f72457a5f4a4bc17ac4dd3457de85fddd0416cc6a56ac7e47fd2898379e7fbb8')