diff options
author | bsvh | 2018-08-29 21:31:05 -0400 |
---|---|---|
committer | bsvh | 2018-08-29 21:31:05 -0400 |
commit | 383d4d97af1234375df51c22e7f6d88dfe6f29f0 (patch) | |
tree | 9d6d3ed88fe3b1545d2c8c396db84e2c9e333f52 | |
download | aur-383d4d97af1234375df51c22e7f6d88dfe6f29f0.tar.gz |
Add rehackable_scripts PKGBUILD.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3de92f31e762 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = rehackable_scripts-git + pkgdesc = A set of bash scripts to interact with the reMarkable tablet. + pkgver = r76.200668e + pkgrel = 1 + url = https://github.com/reHackable/scripts + arch = any + license = GPLv3 + makedepends = git + depends = openssh + depends = curl + depends = netcat + provides = rehackable_scripts + conflicts = rehackable_scripts + source = rehackable_scripts::git+https://github.com/reHackable/scripts + md5sums = SKIP + +pkgname = rehackable_scripts-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c3a141c36647 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Brendan Van Hook <brendan at vastactive dot com> +_pkgname=rehackable_scripts +pkgname=${_pkgname}-git +pkgver=r76.200668e +pkgrel=1 +pkgdesc='A set of bash scripts to interact with the reMarkable tablet.' +arch=('any') +url='https://github.com/reHackable/scripts' +license=('GPLv3') +depends=('openssh' 'curl' 'netcat') +optdepends=() +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("${_pkgname}::git+https://github.com/reHackable/scripts") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}/${_pkgname}" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + + cd "${srcdir}/${_pkgname}/host" + install -D -m755 reclean.sh "${pkgdir}/usr/bin/reclean.sh" + install -D -m755 repull.sh "${pkgdir}/usr/bin/repull.sh" + install -D -m755 repush.sh "${pkgdir}/usr/bin/repush.sh" + install -D -m755 retext.sh "${pkgdir}/usr/bin/retext.sh" + install -D -m755 rezone.sh "${pkgdir}/usr/bin/rezone.sh" +} |