yochananmarqos

cfetch

Dec 7th, 2021 (edited)
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. pkgname=cfetch
  2. pkgver=1.0.0
  3. pkgrel=1
  4. pkgdesc="A shitty fetch written in C99"
  5. arch=('x86_64')
  6. url="https://github.com/ItzAfroBoy/cfetch"
  7. license=('GPL3')
  8. depends=('glibc')
  9. source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
  10. sha256sums=('e46c4feb60ca9495bf5e7f701554764476f6a8980b4c812c463bcca5cd2cd0e6')
  11.  
  12. build() {
  13.     cd "${pkgname}-${pkgver}"
  14.     make
  15. }
  16.  
  17. package() {
  18.     cd "${pkgname}-${pkgver}"
  19.     install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin/"
  20. }
Add Comment
Please, Sign In to add comment