Compare commits
	
		
			9 Commits
		
	
	
		
			177df7eb6d
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 96bfaa8ece | |||
| f6a4c99b14 | |||
| 0b170e6a3c | |||
| 2bcb9fb12e | |||
| 9f45e09c71 | |||
| 4c946c8cf8 | |||
| 3b65e46d3a | |||
| 9004605483 | |||
| 091ef5ab9e | 
							
								
								
									
										59
									
								
								dotfiles/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								dotfiles/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,59 @@ | ||||
| #Maintainer: Debucquoy Anthony <debucquoy.anthony@gmail.com> | ||||
| pkgbase="dotfiles" | ||||
| pkgname=( | ||||
| 	"zshrc-dotfiles" | ||||
| 	"vimrc-dotfiles" | ||||
| 		) | ||||
| pkgver=r2.cb102e6 | ||||
| pkgrel=1 | ||||
| pkgdesc="dotfiles for tonitch" | ||||
| arch=('any') | ||||
| url="https://git.herisson.ovh/tonitch/dotfiles" | ||||
| license=('unknown') | ||||
| groups=(tonitch-dotfiles) | ||||
| makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion' | ||||
| # provides=("${pkgname%-VCS}") | ||||
| # conflicts=("${pkgname%-VCS}") | ||||
| source=('git+https://git.herisson.ovh/tonitch/dotfiles') | ||||
| sha256sums=('SKIP') | ||||
|  | ||||
| # Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for | ||||
| # a description of each element in the source array. | ||||
|  | ||||
| pkgver() { | ||||
| 	cd "$srcdir/${pkgbase}" | ||||
| 	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||||
| } | ||||
|  | ||||
| # prepare() { | ||||
| # 	cd "$srcdir/${pkgname%-VCS}" | ||||
| # 	patch -p1 -i "$srcdir/${pkgname%-VCS}.patch" | ||||
| # } | ||||
|  | ||||
| # build() { | ||||
| # 	cd "$srcdir/${pkgname%-VCS}" | ||||
| # 	./autogen.sh | ||||
| # 	./configure --prefix=/usr | ||||
| # 	make | ||||
| # } | ||||
|  | ||||
| # check() { | ||||
| # 	cd "$srcdir/${pkgname%-VCS}" | ||||
| # 	make -k check | ||||
| # } | ||||
|  | ||||
| package_dotfiles() { | ||||
| 	# Should contain all other packages | ||||
| 	package_zshrc-dotfiles | ||||
| } | ||||
|  | ||||
| package_vimrc-dotfiles() { | ||||
| 	depends=('vim') | ||||
| 	install -Dm644 ${srcdir}/dotfiles/vimrc  ${pkgdir}/etc/skel/.vimrc | ||||
| } | ||||
|  | ||||
| package_zshrc-dotfiles() { | ||||
| 	depends=('zsh' 'zsh-autosuggestions' 'zsh-history-substring-search' 'zsh-syntax-highlighting' 'zsh-vi-mode') | ||||
| 	optdepends=('zsh-lovers') | ||||
| 	install -Dm644 ${srcdir}/dotfiles/zshrc  ${pkgdir}/etc/zsh/zshrc | ||||
| } | ||||
| @ -1,6 +1,6 @@ | ||||
| # Maintainer: DEBUCQUOY Anthony <Debucquoy.anthony@gmail.com> | ||||
| pkgname=tonitch-sent-git | ||||
| pkgver= | ||||
| pkgver=1.r8.882d54c | ||||
| pkgrel=1 | ||||
| pkgdesc="sent presentation tool with patch for tonitch" | ||||
| arch=('x86_64') | ||||
|  | ||||
							
								
								
									
										117
									
								
								spimsuite-svn/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								spimsuite-svn/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,117 @@ | ||||
| # Maintainer: Darren Ng <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')> | ||||
| # Maintainer: Sophie Tauchert <sophie@999eagle.moe> | ||||
| # Contributor: Xevnar <xevnar AT gmail.com> | ||||
| # Thanks: Lukas Fleischer (community/qtspim) | ||||
| # Thanks: Lukas Jirkovsky (community/qtspim) | ||||
| # Thanks: Chih-Hsuan Yen (aur/spim-svn) | ||||
|  | ||||
| pkgname=spimsuite-svn | ||||
| pkgver=r749 | ||||
| pkgrel=1 | ||||
| pkgdesc="spim + xspim + QtSpim" | ||||
| arch=('x86_64') | ||||
| url="http://spimsimulator.sourceforge.net/" | ||||
| license=('BSD') | ||||
| depends=('glibc' # spim | ||||
|          'libsm' 'libxaw' # 'xorg-apps' # xspim | ||||
|          'qt5-base' # QtSpim | ||||
|         ) | ||||
| makedepends=('subversion' | ||||
|              'imake' # xspim | ||||
|              'qt5-tools' 'icu' # QtSpim | ||||
|             ) | ||||
| # optdepends=('qt5-tools: assistant-qt5') | ||||
| provides=('spim'   'spim-svn' | ||||
|           'xspim'  'xspim-svn' | ||||
|           'qtspim' 'qtspim-svn') | ||||
| conflicts=('spim'   'spim-svn' | ||||
|            'xspim'  'xspim-svn' | ||||
|            'qtspim' 'qtspim-svn') | ||||
| source=("${pkgname%-svn}::svn+https://svn.code.sf.net/p/spimsimulator/code#revision=749") | ||||
| md5sums=('SKIP') | ||||
|  | ||||
| pkgver() { | ||||
|   cd "$srcdir/${pkgname%-svn}" | ||||
|   printf "r%s" "$(svnversion | tr -d 'A-z')" # Subversion | ||||
| } | ||||
|  | ||||
| prepare() { | ||||
|   # QtSpim | ||||
|   cd "$srcdir/${pkgname%-svn}/QtSpim" | ||||
|   # rm parser_yacc.* scanner_lex.* | ||||
| } | ||||
|  | ||||
| build() { | ||||
|  | ||||
|   # spim | ||||
|   cd "$srcdir/${pkgname%-svn}/spim" | ||||
|   make -j1 spim | ||||
|  | ||||
|   # xspim | ||||
|   cd "$srcdir/${pkgname%-svn}/xspim" | ||||
|   xmkmf | ||||
|   make -j1 | ||||
|  | ||||
|   # QtSpim | ||||
|   cd "$srcdir/${pkgname%-svn}/QtSpim" | ||||
|   qmake | ||||
|   # shellcheck disable=SC2016 | ||||
|   sed -i 's#$(COPY) help/qtspim.qhc help/qtspim.qhc;##' Makefile | ||||
|   # shellcheck disable=SC2016 | ||||
|   sed -i 's#$(MOVE) ./parser.tab#$(COPY) ./parser.tab#' Makefile | ||||
|   echo 'running make ...' | ||||
|   make -j1 | ||||
|  | ||||
| } | ||||
|  | ||||
| check() { | ||||
|   # spim | ||||
|   cd "$srcdir/${pkgname%-svn}/spim" | ||||
|   make --keep-going test_bare | ||||
|   make --keep-going test | ||||
| } | ||||
|  | ||||
| package() { | ||||
|  | ||||
|   # mkdir | ||||
|   install -Dm755 -d "$pkgdir/usr/share/spim" | ||||
|   install -Dm755 -d "$pkgdir/usr/share/xspim" | ||||
|   install -Dm755 -d "$pkgdir/usr/share/qtspim" | ||||
|  | ||||
|   # spim | ||||
|   cd "$srcdir/${pkgname%-svn}/spim" | ||||
|   make PREFIX="$pkgdir/usr" install | ||||
|   # spim.man | ||||
|   make PREFIX="$pkgdir/usr" install-man | ||||
|   # spim.pdf | ||||
|   cd "$srcdir/${pkgname%-svn}" | ||||
|   install -Dm644 Documentation/SourceForge/spim.pdf "$pkgdir/usr/share/spim/" | ||||
|   install -Dm644 Documentation/SourceForge/SPIM_command-line.pdf "$pkgdir/usr/share/spim/" | ||||
|  | ||||
|   # xspim | ||||
|   cd "$srcdir/${pkgname%-svn}/xspim" | ||||
|   make \ | ||||
|     DESTDIR="" \ | ||||
|     BIN_DIR="$pkgdir/usr/bin" \ | ||||
|     EXCEPTION_DIR="$pkgdir/usr/share/spim" \ | ||||
|     MAN_DIR="$pkgdir/usr/share/man/man1" \ | ||||
|     install | ||||
|   # xspim.man | ||||
|   cd "$srcdir/${pkgname%-svn}" | ||||
|   install -Dm644 Documentation/xspim.man "$pkgdir/usr/share/man/man1/xspim.1" | ||||
|   # xspim.pdf | ||||
|   install -Dm644 Documentation/SourceForge/xspim.pdf "$pkgdir/usr/share/xspim/" | ||||
|  | ||||
|   # QtSpim | ||||
|   cd "$srcdir/${pkgname%-svn}" | ||||
|   install -Dm755 QtSpim/QtSpim "$pkgdir/usr/bin/qtspim" | ||||
|   # QtSpim.man | ||||
|   install -Dm644 Documentation/qtspim.man "$pkgdir/usr/share/man/man1/qtspim.1" | ||||
|   # QtSpim.pdf + etc | ||||
|   install -Dm755 -d "$pkgdir/usr/share/qtspim/help" | ||||
|   install -Dm644 QtSpim/help/* "$pkgdir/usr/share/qtspim/help/" | ||||
|   install -Dm644 Setup/qtspim_debian_deployment/qtspim.desktop "$pkgdir/usr/share/applications/qtspim.desktop" | ||||
|   install -Dm644 Setup/qtspim_debian_deployment/copyright "$pkgdir/usr/share/licenses/${pkgname%-svn}/copyright" | ||||
|   install -Dm644 Setup/NewIcon48x48.png "$pkgdir/usr/share/qtspim/qtspim.png" | ||||
|  | ||||
| } | ||||
| @ -5,13 +5,15 @@ git reset --hard origin/master | ||||
|  | ||||
| mkdir -p tonitch | ||||
| export PKGDEST=$(pwd)/tonitch | ||||
| rm -rf $PKGDEST/* | ||||
|  | ||||
| packagelist=$(find . -maxdepth 1 -type d -printf '%P\n' | sed '/tonitch/d' | sed '/\./d') | ||||
|  | ||||
| for d in $packagelist | ||||
| do | ||||
| 	cd $d | ||||
| 	makepkg -f | ||||
| 	makepkg -f --nodeps | ||||
| 	cd .. | ||||
| done | ||||
|  | ||||
| cd $PKGDEST | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	