pfetch: fix build
This commit is contained in:
		
							parent
							
								
									54390807a1
								
							
						
					
					
						commit
						39a8ac0915
					
				
					 7 changed files with 22 additions and 22 deletions
				
			
		
							
								
								
									
										22
									
								
								base/libnl-tiny/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								base/libnl-tiny/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| pkgname=libnl-tiny | ||||
| pkgver=master | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl -L "https://github.com/sabotage-linux/libnl-tiny/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz | ||||
| 	tar -xf $pkgname-$pkgver.tar.xz | ||||
| 	cd $pkgname-$pkgver | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake prefix=/usr all CC=cc | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake prefix=/usr DESTDIR=$pkgdir install | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	curl "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt" | ||||
| } | ||||
							
								
								
									
										11
									
								
								base/libnl-tiny/cmake-no-extra-errs.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								base/libnl-tiny/cmake-no-extra-errs.patch
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| --- a/CMakeLists.txt
 | ||||
| +++ b/CMakeLists.txt
 | ||||
| @@ -5,7 +5,7 @@
 | ||||
|   | ||||
|  INCLUDE_DIRECTORIES(include) | ||||
|   | ||||
| -ADD_DEFINITIONS(-Wall -Werror -Wextra -Wno-unused-parameter)
 | ||||
| +#ADD_DEFINITIONS(-Wall -Werror -Wextra -Wno-unused-parameter)
 | ||||
|  STRING(REPLACE "-DNDEBUG" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") | ||||
|   | ||||
|  ADD_LIBRARY(nl-tiny SHARED | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue