Updated to latest git (20190414.f1546cf) & updated patches. Changes: . Upstream fixes. . Alpha: Opacity value is now typed in float (0-1). Also "-A" cmd option added as alternative opacity changing method. . Clipboard: middle click pastes from clipboard. . Organized shortcuts.
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # Maintainer:
 | |
| 
 | |
| pkgname=st-luke-git
 | |
| _pkgname=st
 | |
| _pkgver=0.8.2
 | |
| pkgver=0.8.2.r1059.51ac1b9
 | |
| pkgrel=1
 | |
| epoch=1
 | |
| pkgdesc="Luke's simple (suckless) terminal with vim-bindings, transparency, xresources, etc. "
 | |
| url='https://github.com/LukeSmithxyz/st'
 | |
| arch=('i686' 'x86_64')
 | |
| license=('MIT')
 | |
| options=('zipman')
 | |
| depends=('libxft')
 | |
| makedepends=('ncurses' 'libxext' 'git')
 | |
| optdepends=('dmenu: feed urls to dmenu')
 | |
| source=('git://github.com/LukeSmithxyz/st')
 | |
| sha1sums=('SKIP')
 | |
| 
 | |
| provides=("${_pkgname}")
 | |
| conflicts=("${_pkgname}")
 | |
| 
 | |
| pkgver() {
 | |
| 	cd "${_pkgname}"
 | |
| 	printf "%s.r%s.%s" "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 | |
| }
 | |
| 
 | |
| prepare() {
 | |
| 	cd $srcdir/${_pkgname}
 | |
| 	# skip terminfo which conflicts with ncurses
 | |
| 	sed -i '/tic /d' Makefile
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	cd "${_pkgname}"
 | |
| 	make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	cd "${_pkgname}"
 | |
| 	make PREFIX=/usr DESTDIR="${pkgdir}" install
 | |
| 	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 | |
| 	install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
 | |
| 	install -Dm644 .Xdefaults "${pkgdir}/usr/share/doc/${pkgname}/Xdefaults.example"
 | |
| }
 |