summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororhun2020-10-21 22:03:12 +0300
committerorhun2020-10-21 22:03:12 +0300
commit6e3170965c45c14e290bbf0bcc571d3cb98189cf (patch)
treee14969f12bd5a8f113fe4e0370861455597cdd4c
downloadaur-6e3170965c45c14e290bbf0bcc571d3cb98189cf.tar.gz
Initial upload: termimage-bin 1.1.0-1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD25
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7387751b73b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = termimage-bin
+ pkgdesc = Display images in your terminal
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://github.com/nabijaczleweli/termimage
+ arch = x86_64
+ license = MIT
+ provides = termimage
+ conflicts = termimage
+ conflicts = termimage-git
+ source_x86_64 = https://github.com/nabijaczleweli/termimage/releases/download/v1.1.0/termimage-v1.1.0
+ source_x86_64 = termimage-v1.1.0-LICENSE::https://github.com/nabijaczleweli/termimage/raw/v1.1.0/LICENSE
+ source_x86_64 = https://github.com/nabijaczleweli/termimage/releases/download/v1.1.0/termimage-man-v1.1.0.tbz2
+ sha512sums_x86_64 = 379d7a598bb669ffae6e7bf60071e9cbb80e81969faf1fb1fa7bd174b0ed465b5d291b238c53b80139e9f87eea4f3e7e905880e1db2941d62ca5ca76a9cfceb7
+ sha512sums_x86_64 = 25e0f2eb4d34813f14fabea8245680d734a50ff3be597146c47d4d6c819f61f4f8bb1c6ffa4f9047725aa6923d5db3043b7add60b5f428ab29de6932a70b8a24
+ sha512sums_x86_64 = 7e2f220b7b023f357c1ee32ac7ed2936e4b01378d8fd2bf96becedb4dd16e8bae4a7eb57790292342beb9512e915e52d782782e04aec28d6d415f6741f241c5b
+
+pkgname = termimage-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d9bfdb68f90
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: orhun <orhunparmaksiz@gmail.com>
+# https://github.com/orhun/pkgbuilds
+
+pkgname=termimage-bin
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Display images in your terminal"
+arch=('x86_64')
+url="https://github.com/nabijaczleweli/termimage"
+license=('MIT')
+conflicts=("${pkgname%-bin}" "${pkgname%-bin}-git")
+provides=("${pkgname%-bin}")
+source_x86_64=("$url/releases/download/v$pkgver/${pkgname%-bin}-v$pkgver"
+ "${pkgname%-bin}-v$pkgver-LICENSE::$url/raw/v$pkgver/LICENSE"
+ "$url/releases/download/v$pkgver/${pkgname%-bin}-man-v$pkgver.tbz2")
+sha512sums_x86_64=('379d7a598bb669ffae6e7bf60071e9cbb80e81969faf1fb1fa7bd174b0ed465b5d291b238c53b80139e9f87eea4f3e7e905880e1db2941d62ca5ca76a9cfceb7'
+ '25e0f2eb4d34813f14fabea8245680d734a50ff3be597146c47d4d6c819f61f4f8bb1c6ffa4f9047725aa6923d5db3043b7add60b5f428ab29de6932a70b8a24'
+ '7e2f220b7b023f357c1ee32ac7ed2936e4b01378d8fd2bf96becedb4dd16e8bae4a7eb57790292342beb9512e915e52d782782e04aec28d6d415f6741f241c5b')
+
+package() {
+ install -Dm 755 "${pkgname%-bin}-v$pkgver" "${pkgdir}/usr/bin/${pkgname%-bin}"
+ install -Dm 644 "${pkgname%-bin}-v$pkgver-LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-bin}/LICENSE"
+ install -Dm 644 "${pkgname%-bin}-man-v$pkgver/${pkgname%-bin}.md" -t "$pkgdir/usr/share/doc/${pkgname%-bin}"
+ install -Dm 644 "${pkgname%-bin}-man-v$pkgver/${pkgname%-bin}.1" -t "$pkgdir/usr/share/man/man1"
+}