summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTomás Ralph2021-05-11 21:21:21 -0300
committerTomás Ralph2021-05-11 21:21:21 -0300
commit6ab3a723870161bce0710b7f712b2de3534fb882 (patch)
treeb5c2fdcfb81fa3f6955977141187a343af9d6b3f /PKGBUILD
downloadaur-ddi-bin.tar.gz
Initial push
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7816f8ec9e4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Tomás Ralph <tomasralph2000@gmail.com>
+_pkgname=ddi
+pkgname=ddi-bin
+pkgver=1.0
+pkgrel=1
+pkgdesc="A safer dd"
+arch=(x86_64)
+url="https://github.com/tralph3/ddi"
+license=('GPL3')
+depends=()
+makedepends=()
+archivename="${_pkgname}-v${pkgver}-${arch}-linux"
+source=("https://github.com/tralph3/ddi/releases/download/v${pkgver}/${archivename}.tar.gz")
+md5sums=('SKIP')
+
+package() {
+
+ local docdir="$pkgdir/usr/share/doc/${_pkgname}"
+ local licdir="$pkgdir/usr/share/licenses/${_pkgname}"
+ local bindir="$pkgdir/usr/bin"
+
+ cd "${srcdir}"
+ install -Dm0644 --target-directory "$docdir" "README.md"
+ install -Dm0644 --target-directory "$licdir" "LICENSE"
+ install -Dm0755 --target-directory "$bindir" "ddi"
+}