yochananmarqos

bibcal-bin

Aug 20th, 2021 (edited)
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.43 KB | None | 0 0
  1. pkgname=bibcal-bin
  2. pkgver=0.1.0
  3. pkgrel=1
  4. pkgdesc="A command-line tool for calculating dates based on the Bible and the 1st Book of Enoch"
  5. arch=('x86_64')
  6. url="https://github.com/johanthoren/bibcal"
  7. license=('ISC')
  8. provides=("${pkgname%-bin}")
  9. conflicts=("${pkgname%-bin}")
  10. source=("${pkgname%-bin}-$pkgver::$url/releases/download/$pkgver/${pkgname%-bin}-linux-x86_64"
  11.         "${pkgname%-bin}-$pkgver.sha256::$url/releases/download/$pkgver/${pkgname%-bin}-linux-x86_64.sha256"
  12.         "${pkgname%-bin}-$pkgver.sha256.asc::$url/releases/download/$pkgver/${pkgname%-bin}-linux-x86_64.sha256.asc"
  13.         "https://raw.githubusercontent.com/johanthoren/bibcal/$pkgver/LICENSE"
  14.         "https://raw.githubusercontent.com/johanthoren/bibcal/$pkgver/README.md")
  15. sha256sums=('2e1862e0ab01862436a89d97f3b2e8fdb5264c2ce871e6db66e66a08761615cd'
  16.             'eb5278db3ad68bf71110e13247b5d9dfed825e0cd74dd218fd7d9c99a1927736'
  17.             'SKIP'
  18.             '42ff7de4bd2675dff14a44fe4c2eb7d5b88f616f8206e72e9aa3a209f51365ba'
  19.             '978747ef333cab2ff6674d999efaf7f252a2879c2a2ace476c866eb8c04f652d')
  20. validpgpkeys=('2BEFDA8D830FA1E0C458915824EBD0202640D9B0') # Johan Thoren (GitHub Signing Key) <johan@thoren.xyz>
  21.  
  22. package() {
  23.   install -Dm755 "${pkgname%-bin}-$pkgver" "$pkgdir/usr/bin/${pkgname%-bin}"
  24.   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-bin}"
  25.   install -Dm644 README.md -t "$pkgdir/usr/share/doc/${pkgname%-bin}"
  26. }
Add Comment
Please, Sign In to add comment