My patched version of suckless' terminal - st.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.2 KiB

7 months ago
  1. # This is an example PKGBUILD file. Use this as a start to creating your own,
  2. # and remove these comments. For more information, see 'man PKGBUILD'.
  3. # NOTE: Please fill out the license field for your package! If it is unknown,
  4. # then please put 'unknown'.
  5. # Maintainer: Marten Kante <tiyn@martenkante.eu>
  6. pkgname=st-tiyn-git
  7. pkgver=4.9.r33.7b261b6
  8. pkgrel=1
  9. epoch=
  10. pkgdesc="This is the st build of tiyn. It includes the alpha, anysize, font2, scrollback patches."
  11. arch=(x86_64 i686)
  12. url="https://github.com/tiyn/st"
  13. license=('MIT')
  14. groups=()
  15. depends=(libxft-bgra)
  16. makedepends=(git)
  17. checkdepends=()
  18. optdepends=()
  19. provides=(st)
  20. conflicts=(st)
  21. replaces=(st)
  22. backup=()
  23. options=()
  24. install=
  25. changelog=
  26. source=("git+$url")
  27. noextract=()
  28. md5sums=('SKIP')
  29. validpgpkeys=()
  30. pkgver() {
  31. cd "${_pkgname}"
  32. printf "4.9.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  33. }
  34. build() {
  35. cd st
  36. make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
  37. }
  38. package() {
  39. cd st
  40. mkdir -p ${pkgdir}/opt/${pkgname}
  41. cp -rf * ${pkgdir}/opt/${pkgname}
  42. make PREFIX=/usr DESTDIR="${pkgdir}" install
  43. install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  44. install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
  45. }