old-st

[ARCHIVED] my build of st
git clone git://git.ckyln.com/~cem/old-st.git
Log | Files | Refs | README | LICENSE

PKGBUILD (716B)


      1 # Maintainer: Cem Keylan <cem at ckyln dot com>
      2 
      3 pkgname=st-ckyln-git
      4 _pkgname=st
      5 pkgrel=1
      6 pkgver=v20190618.2.gb454b64
      7 pkgdesc="Simple Terminal from suckless.org (Fork)"
      8 url="https://git.ckyln.com/cemkeylan/st"
      9 arch=('i686' 'x86_64')
     10 license=('MIT')
     11 depends=('libxft')
     12 makedepends=('git')
     13 source=('git+https://git.ckyln.com/cemkeylan/st.git')
     14 md5sums=('SKIP')
     15 
     16 provides=('st')
     17 conflicts=('st')
     18 
     19 pkgver() {
     20 	cd ${_pkgname}
     21 	git describe --tags | sed 's/-/./g'
     22 }
     23 build() {
     24 	cd $srcdir/${_pkgname}
     25 	make
     26 }
     27 
     28 package() {
     29 	cd ${_pkgname}
     30 	make PREFIX=/usr DESTDIR="${pkgdir}" install
     31 	install -Dm644 LICENSE "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
     32 	install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
     33 }