[fix] Remove the prepare function
This commit is contained in:
		
							parent
							
								
									be18f11a69
								
							
						
					
					
						commit
						4a4db8cf6e
					
				
					 3 changed files with 3 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
pkgbase = archy-slstatus-git
 | 
			
		||||
	pkgdesc = A suckless status monitor for dwm
 | 
			
		||||
	pkgver = 1.0.0.r1.g55b9d57
 | 
			
		||||
	pkgrel = 1
 | 
			
		||||
	pkgrel = 2
 | 
			
		||||
	url = https://github.com/archy-linux/archy-slstatus
 | 
			
		||||
	arch = i686
 | 
			
		||||
	arch = x86_64
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
pkgname=archy-slstatus-git
 | 
			
		||||
_pkgname=archy-slstatus
 | 
			
		||||
pkgver=1.0.0.r1.g55b9d57
 | 
			
		||||
pkgrel=1
 | 
			
		||||
pkgrel=3
 | 
			
		||||
pkgdesc="A suckless status monitor for dwm"
 | 
			
		||||
url="https://github.com/archy-linux/$_pkgname"
 | 
			
		||||
arch=('i686' 'x86_64')
 | 
			
		||||
| 
						 | 
				
			
			@ -21,11 +21,6 @@ pkgver(){
 | 
			
		|||
  git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
prepare() {
 | 
			
		||||
  cd $_pkgname || exit 1
 | 
			
		||||
  make archy-dwm.desktop
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build() {
 | 
			
		||||
  cd $_pkgname || exit 1
 | 
			
		||||
  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
 | 
			
		||||
| 
						 | 
				
			
			@ -37,5 +32,4 @@ package() {
 | 
			
		|||
  make PREFIX=/usr DESTDIR="$pkgdir" install
 | 
			
		||||
  install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 | 
			
		||||
  install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README"
 | 
			
		||||
  install -m644 -D build/archy-dwm.desktop "$pkgdir/usr/share/xsessions/archy-dwm.desktop"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
Subproject commit aae222fe652292ba5d5158ba4349a603d77b0375
 | 
			
		||||
Subproject commit f3de0ef251edfcce300b53c71b187b76b7e1358a
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue