diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 14 insertions, 18 deletions
@@ -1,18 +1,16 @@ pkgbase = termimage-bin pkgdesc = Display images in your terminal - pkgver = 1.1.0 + pkgver = 1.2.1 pkgrel = 1 url = https://github.com/nabijaczleweli/termimage arch = x86_64 license = MIT + depends = gcc-libs provides = termimage conflicts = termimage - 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 + source_x86_64 = https://debian.nabijaczleweli.xyz/pool/main/t/termimage/termimage_1.2.1-1_amd64.deb + source_x86_64 = termimage-v1.2.1-LICENSE::https://github.com/nabijaczleweli/termimage/raw/v1.2.1/LICENSE + sha512sums_x86_64 = ced1024243a8d4ee00e989439ec155d47a2360197dd27d450cb45b16e317c1f0e6325fb7f13f9d8a1a2e06100cb9f06a290f5c0e2b003a3e2e6e7396b1d90324 sha512sums_x86_64 = 25e0f2eb4d34813f14fabea8245680d734a50ff3be597146c47d4d6c819f61f4f8bb1c6ffa4f9047725aa6923d5db3043b7add60b5f428ab29de6932a70b8a24 - sha512sums_x86_64 = 7e2f220b7b023f357c1ee32ac7ed2936e4b01378d8fd2bf96becedb4dd16e8bae4a7eb57790292342beb9512e915e52d782782e04aec28d6d415f6741f241c5b pkgname = termimage-bin - @@ -2,24 +2,22 @@ # https://github.com/orhun/pkgbuilds pkgname=termimage-bin -pkgver=1.1.0 +pkgver=1.2.1 pkgrel=1 pkgdesc="Display images in your terminal" arch=('x86_64') url="https://github.com/nabijaczleweli/termimage" license=('MIT') +depends=('gcc-libs') conflicts=("${pkgname%-bin}") 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') +source_x86_64=("https://debian.nabijaczleweli.xyz/pool/main/t/${pkgname%-bin}/${pkgname%-bin}_${pkgver}-1_amd64.deb" + "${pkgname%-bin}-v$pkgver-LICENSE::$url/raw/v$pkgver/LICENSE") +sha512sums_x86_64=('ced1024243a8d4ee00e989439ec155d47a2360197dd27d450cb45b16e317c1f0e6325fb7f13f9d8a1a2e06100cb9f06a290f5c0e2b003a3e2e6e7396b1d90324' + '25e0f2eb4d34813f14fabea8245680d734a50ff3be597146c47d4d6c819f61f4f8bb1c6ffa4f9047725aa6923d5db3043b7add60b5f428ab29de6932a70b8a24') 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" + tar -xaf data.tar.xz --directory "${pkgdir}" + mv "$pkgdir/usr/share/doc/${pkgname%-bin}" "$pkgdir/usr/share/doc/$pkgname" + install -Dm 644 "${pkgname%-bin}-v$pkgver-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |