Merge branch 'master' of github.com:voidlinux/xbps-packages

This commit is contained in:
Ypnose 2014-07-08 22:55:36 +02:00
commit 721532c094
11 changed files with 152 additions and 1 deletions

View file

@ -1669,3 +1669,4 @@ libnetpbm.so.11 libnetpbm-10.66.03_2
libid3.so id3lib-3.8.3_1
libid3-3.8.so.3 id3lib-3.8.3_1
libgirara-gtk3.so.1 girara-0.2.2_1
libjq.so.1 jq-devel-1.4_1

View file

@ -0,0 +1,44 @@
# Template file for 'crack-attack'
pkgname=crack-attack
version=1.1.14
revision=1
wrksrc=$pkgname-$version
create_wrksrc=yes
build_wrksrc=$wrksrc
#only_for_archs="i686 x86_64"
build_style=gnu-configure
configure_args="--enable-sound=yes"
#make_build_args=""
#make_install_args=""
#conf_files=""
#make_dirs="/var/log/sa 0755 root root"
hostmakedepends="pkg-config rpmextract
gtk+-devel SDL_mixer-devel libfreeglut-devel libXmu-devel"
makedepends=""
depends=""
short_desc="Tetris Attack clone"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.nongnu.org/crack-attack/"
distfiles="http://kojipkgs.fedoraproject.org/packages/${pkgname}/${version}/28.fc21/src/${pkgname}-${version}-28.fc21.src.rpm"
checksum="6fb2ad5a1dcdc590fcbeb4d1925a7e55f1af27780a5550cded280475d2c08b1d"
post_extract() {
tar xf crack-attack-1.1.14.tar.bz2
tar xf crack-attack-music.tar.gz
tar xf crack-attack-sounds.tar.gz
cd $build_wrksrc
cat ../*.patch | patch -p1
}
post_install() {
vcopy ../music usr/share/${pkgname}
vcopy ../data/sounds usr/share/${pkgname}
vlicense ../music-sound-copyright.txt
vmkdir usr/share/applications
mv $DESTDIR/usr/share/${pkgname}/${pkgname}.desktop $DESTDIR/usr/share/applications/
vmkdir usr/share/pixmaps
cp $DESTDIR/usr/share/${pkgname}/crack-attack.xpm $DESTDIR/usr/share/pixmaps
}

View file

@ -0,0 +1,12 @@
Use INADDR_NONE instead of -1 to check inet_addr() result
--- cbtcommon/tcpsocket.c.1 2013-04-14 13:21:14.848464155 +0400
+++ cbtcommon/tcpsocket.c 2013-04-14 13:23:23.015136709 +0400
@@ -198,7 +198,7 @@
memcpy(dest, &ip.s_addr, sizeof(ip.s_addr));
}
#else
- if ( (*dest = inet_addr(addr_str)) != -1)
+ if ( (*dest = inet_addr(addr_str)) != INADDR_NONE)
{
/* nothing */
}

17
srcpkgs/cvsps2/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'cvsps2'
pkgname=cvsps2
version=2.1
revision=1
wrksrc=cvsps-${version}
build_style=gnu-makefile
makedepends="zlib-devel"
short_desc="Generating 'patchsets' from a CVS repo (for git-cvsimport)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.cobite.com/cvsps/"
distfiles="http://www.cobite.com/cvsps/cvsps-${version}.tar.gz"
checksum=91d3198b33463861a581686d5fcf99a5c484e7c4d819384c04fda9cafec1075a
do_install() {
make install prefix=$DESTDIR/usr
}

1
srcpkgs/jq-devel Symbolic link
View file

@ -0,0 +1 @@
jq

26
srcpkgs/jq/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'jq'
pkgname=jq
version=1.4
revision=1
build_style=gnu-configure
short_desc="Command-line JSON processor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://stedolan.github.io/jq/"
distfiles="http://stedolan.github.io/jq/download/source/${pkgname}-${version}.tar.gz"
checksum=998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d
post_install() {
rm -r ${DESTDIR}/usr/share/doc/$pkgname
vlicense COPYING
}
jq-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so*"
}
}

13
srcpkgs/twm/template Normal file
View file

@ -0,0 +1,13 @@
# Template file for 'twm'
pkgname=twm
version=1.0.8
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros bison"
makedepends="libXmu-devel"
short_desc="Tab Window Manager for the X Window System"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://www.x.org/archive/X11R6.8.1/doc/twm.1.html"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
checksum=7660352353d632127ff50390991706aa660b28a4ada816c2582ac02720722e44

10
srcpkgs/vim/files/vimrc Normal file
View file

@ -0,0 +1,10 @@
" System-wide vim configuration
set nocompatible
set backspace=indent,eol,start
set history=50
set ruler
if filereadable("/etc/vimrc.local")
source /etc/vimrc.local
endif

View file

@ -3,7 +3,7 @@ pkgname=vim
_distver=7.4
_patchver=307
version=${_distver}.${_patchver}
revision=1
revision=2
hostmakedepends="mercurial pkg-config"
makedepends="ncurses-devel acl-devel libXt-devel gtk+-devel
desktop-file-utils hicolor-icon-theme ruby-devel python-devel lua-devel perl"
@ -99,6 +99,7 @@ vim-common_package() {
replaces="vim<=7.2_2"
pkg_install() {
vmove usr/share/vim
vinstall ${FILESDIR}/vimrc 644 usr/share/vim
}
}

13
srcpkgs/xclock/template Normal file
View file

@ -0,0 +1,13 @@
# Template file for 'xclock'
pkgname=xclock
version=1.0.7
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros"
makedepends="libXmu-devel libXaw-devel libxkbfile-devel libXft-devel"
short_desc="analog / digital clock for X"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://www.x.org/archive/X11R6.8.1/doc/xclock.1.html"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
checksum=23ceeca94e3e20a6c26a703ac7f789066d4517f8d2cb717ae7cb28a617d97dd0

13
srcpkgs/xeyes/template Normal file
View file

@ -0,0 +1,13 @@
# Template file for 'xeyes'
pkgname=xeyes
version=1.1.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros"
makedepends="libXmu-devel libXt-devel libXrender-devel"
short_desc="Follow the mouse"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://www.x.org/archive/X11R6.8.1/doc/xeyes.1.html"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
checksum=975e98680cd59e1f9439016386609546ed08c284d0f05a95276f96aca6e8a521