Browse Source

Many fixes & updates 2

master
Pekka Helenius 5 years ago
parent
commit
d204dc17fe
13 changed files with 255 additions and 207 deletions
  1. +13
    -67
      pidgin-smileys-facebook/PKGBUILD
  2. +10
    -8
      pidgin-smileys-msn/PKGBUILD
  3. +75
    -0
      playonlinux/0009-patch_disable-crashdialogs.patch
  4. +32
    -26
      playonlinux/PKGBUILD
  5. +19
    -14
      qgifer/PKGBUILD
  6. +6
    -6
      qt-flif-plugin/PKGBUILD
  7. +7
    -7
      snic/PKGBUILD
  8. +9
    -9
      sockstat/PKGBUILD
  9. +6
    -6
      u3d/PKGBUILD
  10. +7
    -7
      wine-launcher-creator/PKGBUILD
  11. +14
    -15
      xclipshow/PKGBUILD
  12. +24
    -23
      xephem/PKGBUILD
  13. +33
    -19
      zsnes-netplay/PKGBUILD

+ 13
- 67
pidgin-smileys-facebook/PKGBUILD View File

@ -1,4 +1,4 @@
# Maintainer: Fincer fincer89 at hotmail dot com>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=pidgin-smileys-facebook pkgname=pidgin-smileys-facebook
pkgver=1.0 pkgver=1.0
@ -8,23 +8,21 @@ pkgdesc="Facebook smileys for Pidgin"
url="http://www.pidginthemes.com/" url="http://www.pidginthemes.com/"
license=('GPL') license=('GPL')
depends=('pidgin') depends=('pidgin')
source=("./162631-Pidgin-Facebook-Smileys-1.0.tar.gz"
themefile.patch)
source=(
'162631-Pidgin-Facebook-Smileys-1.0.tar.gz'
'themefile.patch'
)
md5sums=('2bc0f072bb33ccf8c8d8e80a696426a0' md5sums=('2bc0f072bb33ccf8c8d8e80a696426a0'
'432b4358b2658b38922a400f2b3cb5bd') '432b4358b2658b38922a400f2b3cb5bd')
#prepare() {
# patch -Np1 -i "$srcdir/theme-description.patch"
#}
srcloc=.${srcdir}/${pkgname}-${pkgver}
srcloc=.$srcdir/$pkgname-$pkgver
prepare() { prepare() {
mkdir -p ${srcloc}
find ${srcdir}/Facebook/ -maxdepth 1 -type f -exec mv -n {} ${srcloc}/ \;
rm -R ${srcdir}/Facebook
mkdir -p $srcloc
find $srcdir/Facebook/ -maxdepth 1 -type f -exec mv -n {} $srcloc/ \;
rm -R $srcdir/Facebook
cd $srcloc
cd ${srcloc}
#Rename these files #Rename these files
mv puppy-facebook-emoticon-for-comments-status-and-chat.png puppy.png mv puppy-facebook-emoticon-for-comments-status-and-chat.png puppy.png
@ -42,22 +40,6 @@ prepare() {
mv man-and-woman-holding-hands.png manwomanhands.png mv man-and-woman-holding-hands.png manwomanhands.png
mv emoticon-of-heart-stabbed-with-an-arrow.png heartstabbed.png mv emoticon-of-heart-stabbed-with-an-arrow.png heartstabbed.png
#Rename those also in theme file
# sed -i 's/puppy-facebook-emoticon-for-comments-status-and-chat.png/puppy.png/g' theme
# sed -i 's/skull-emoticon-for-facebook-status-comments-chat.png/skull.png/g' theme
# sed -i 's/sun+emoticon+for+facebook+comments.png/sun.png/g' theme
# sed -i 's/kiss+emoticon.png/kiss2.png/g' theme
# sed -i 's/thumb-up-facebook-emoticon-like-symbol.png/thumbup.png/g' theme
# sed -i 's/umbrella-symbol-for-facebook-comments.png/umbrella.png/g' theme
# sed -i 's/two-hands-reaching-up.png/twohands.png/g' theme
# sed -i 's/vs-emoticon-versus.png/versus.png/g' theme
# sed -i 's/yellow-heart-emoticon-for-fb-comments.png/yellowheart.png/g' theme
# sed -i 's/big-smile-with-closed-eyes.png/smileclosedeyes.png/g' theme
# sed -i 's/boy-and-girl-holding-hands.png/boygirlhands.png/g' theme
# sed -i 's/disappointed-emoticon-for-facebook-chat-status-and-comments.png/disappointed.png/g' theme
# sed -i 's/man-and-woman-holding-hands.png/manwomanhands.png/g' theme
# sed -i 's/emoticon-of-heart-stabbed-with-an-arrow.png/heartstabbed.png/g' theme
#Strip file names #Strip file names
for filename in *.png; do for filename in *.png; do
newname=`echo $filename | sed \ newname=`echo $filename | sed \
@ -84,46 +66,10 @@ for filename in *.png; do
fi fi
done done
#Rename those also in theme file as described in the patch file
patch -Np1 -i "$srcdir/themefile.patch"
# sed \
# -e 's/-//g' \
# -e 's/+//g' \
# -e 's/for//g' \
# -e 's/fb//g' \
# -e 's/emoticon//g' \
# -e 's/symbol//g' \
# -e 's/icon//g' \
# -e 's/pointing//g' \
# -e 's/emoji//g' \
# -e 's/forstatus//g' \
# -e 's/mark//g' \
# -e 's/smiley//g' \
# -e 's/comments//g' \
# -e 's/facebook//g' \
# -e 's/\([A-Z]\)/\L\1/g' theme
# sed -i 's/-for-facebook//g' theme
# sed -i 's/-fb-emoticon//g' theme
# sed -i 's/-facebook-emoticon//g' theme
# sed -i 's/-emoticon//g' theme
# sed -i 's/facebook-//g' theme
# sed -i 's/-symbol//g' theme
# sed -i 's/-icon//g' theme
# sed -i 's/-pointing-//g' theme
# sed -i 's/to-//g' theme
# sed -i 's/+emoticon//g' theme
# sed -i 's/-emoji//g' theme
# sed -i 's/-sign//g' theme
# sed -i 's/-for-status//g' theme
# sed -i 's/-mark//g' theme
# sed -i 's/--//g' theme
# sed -i 's/-facebook//g' theme
patch -Np1 -i "${srcdir}/themefile.patch"
} }
package() { package() {
mkdir -p $pkgdir/usr/share/pixmaps/pidgin/emotes/facebook-smileys
cp $srcdir/$pkgname-$pkgver/* $pkgdir/usr/share/pixmaps/pidgin/emotes/facebook-smileys/
mkdir -p ${pkgdir}/usr/share/pixmaps/pidgin/emotes/facebook-smileys
cp ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/usr/share/pixmaps/pidgin/emotes/facebook-smileys/
} }

+ 10
- 8
pidgin-smileys-msn/PKGBUILD View File

@ -1,4 +1,4 @@
# Maintainer: Fincer fincer89 at hotmail dot com>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=pidgin-smileys-msn pkgname=pidgin-smileys-msn
pkgver=1.0 pkgver=1.0
@ -8,18 +8,20 @@ pkgdesc="Windows Live Messenger smileys for Pidgin"
url="http://www.pidginthemes.com/" url="http://www.pidginthemes.com/"
license=('GPL') license=('GPL')
depends=('pidgin') depends=('pidgin')
source=(http://www.pidginthemes.com/content/smilies/windows%20live%20messenger.zip
theme-description.patch)
source=(
'http://www.pidginthemes.com/content/smilies/windows%20live%20messenger.zip'
'theme-description.patch'
)
md5sums=('405e2f22729d406270460198281db9f0' md5sums=('405e2f22729d406270460198281db9f0'
'df274aa57db9a63d1be6c1e362da9a83') 'df274aa57db9a63d1be6c1e362da9a83')
prepare() { prepare() {
patch -Np1 -i "$srcdir/theme-description.patch"
patch -Np1 -i "${srcdir}/theme-description.patch"
} }
package() { package() {
mkdir -p $srcdir/$pkgname-$pkgver
find $srcdir -maxdepth 1 -type f -exec mv -n {} $srcdir/$pkgname-$pkgver/ \;
mkdir -p $pkgdir/usr/share/pixmaps/pidgin/emotes/msn-smileys
cp $srcdir/$pkgname-$pkgver/* $pkgdir/usr/share/pixmaps/pidgin/emotes/msn-smileys/
mkdir -p ${srcdir}/${pkgname}-${pkgver}
find ${srcdir} -maxdepth 1 -type f -exec mv -n {} ${srcdir}/${pkgname}-${pkgver}/ \;
mkdir -p ${pkgdir}/usr/share/pixmaps/pidgin/emotes/msn-smileys
cp ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/usr/share/pixmaps/pidgin/emotes/msn-smileys/
} }

+ 75
- 0
playonlinux/0009-patch_disable-crashdialogs.patch View File

@ -0,0 +1,75 @@
--- a/lib/debug.lib
+++ b/lib/debug.lib
@@ -117,45 +117,45 @@
}
POL_Debug_ErrorSilent()
{
- # Use this function if a problem occured.
- # At the end of the script, the user will be able to report a bug to playonlinux's bug tracker
- # Usage : POL_Debug_Error [MESSAGE]
-
+# # Use this function if a problem occured.
+# # At the end of the script, the user will be able to report a bug to playonlinux's bug tracker
+# # Usage : POL_Debug_Error [MESSAGE]
+#
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Error: $@" >> "$LOGFILE"
echo -e "[${FUNCNAME[1]}] ${POL_Color_RedBold}Error:${POL_Color_Reset} $@" 1>&2
- [ "$SETUPWINDOW_INIT" = "true" ] || StandAloneWindow="true"
- [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Init
- MESSAGE="$(eval_gettext '$APPLICATION_TITLE has encountered an error. If the program does not work correctly, it might be the cause of the problem.\nVisit www.$POL_DNS to get further information')"
- echo "$POL_COOKIE POL_Debug $$ $MESSAGE $TITLE Error in ${FUNCNAME[1]}\n$(POL_Untab "$@")" | ncns "$POL_HOST" "$POL_PORT"
- [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Close
+# [ "$SETUPWINDOW_INIT" = "true" ] || StandAloneWindow="true"
+# [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Init
+# MESSAGE="$(eval_gettext '$APPLICATION_TITLE has encountered an error. If the program does not work correctly, it might be the cause of the problem.\nVisit www.$POL_DNS to get further information')"
+# echo "$POL_COOKIE POL_Debug $$ $MESSAGE $TITLE Error in ${FUNCNAME[1]}\n$(POL_Untab "$@")" | ncns "$POL_HOST" "$POL_PORT"
+# [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Close
}
POL_Debug_Error()
{
- # Use this function if a problem occured.
- # At the end of the script, the user will be able to report a bug to playonlinux's bug tracker
- # Usage : POL_Debug_Error [MESSAGE]
-
+# # Use this function if a problem occured.
+# # At the end of the script, the user will be able to report a bug to playonlinux's bug tracker
+# # Usage : POL_Debug_Error [MESSAGE]
+#
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Error: $@" >> "$LOGFILE"
echo -e "[${FUNCNAME[1]}] ${POL_Color_RedBold}Error:${POL_Color_Reset} $@" 1>&2
- [ "$SETUPWINDOW_INIT" = "true" ] || StandAloneWindow="true"
- [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Init
- MESSAGE="$(eval_gettext '$APPLICATION_TITLE has encountered an error. If the program you are installing does not work correctly, it might be the cause of the problem.\nVisit www.$POL_DNS to get further information')"
- echo "$POL_COOKIE POL_Debug $$ $MESSAGE $TITLE Error in ${FUNCNAME[1]}\n$(POL_Untab "$@")" | ncns "$POL_HOST" "$POL_PORT"
- [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Close || export POL_SCRIPT_FAILED="YES"
+# [ "$SETUPWINDOW_INIT" = "true" ] || StandAloneWindow="true"
+# [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Init
+# MESSAGE="$(eval_gettext '$APPLICATION_TITLE has encountered an error. If the program you are installing does not work correctly, it might be the cause of the problem.\nVisit www.$POL_DNS to get further information')"
+# echo "$POL_COOKIE POL_Debug $$ $MESSAGE $TITLE Error in ${FUNCNAME[1]}\n$(POL_Untab "$@")" | ncns "$POL_HOST" "$POL_PORT"
+# [ "$StandAloneWindow" = "true" ] && POL_SetupWindow_Close || export POL_SCRIPT_FAILED="YES"
}
POL_Debug_Fatal()
{
- # Use this function if a strong problem occured
- # The effect is the same that POL_Debug_Error, except that the script will end
- # Usage : POL_Debug_Fatal [MESSAGE]
-
+# # Use this function if a strong problem occured
+# # The effect is the same that POL_Debug_Error, except that the script will end
+# # Usage : POL_Debug_Fatal [MESSAGE]
+#
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Fatal: $@" >> "$LOGFILE"
echo -e "[${FUNCNAME[1]}] ${POL_Color_RedBold}Fatal:${POL_Color_Reset} $@" 1>&2
- [ "$SETUPWINDOW_INIT" = "true" ] || POL_SetupWindow_Init
- MESSAGE="$(eval_gettext '$APPLICATION_TITLE has encountered a fatal error. $APPLICATION_TITLE will stop the installation process.\nVisit www.$POL_DNS to get further information')"
- echo "$POL_COOKIE POL_Debug $$ $MESSAGE $TITLE Error in ${FUNCNAME[1]}\n$(POL_Untab "$@")" | ncns "$POL_HOST" "$POL_PORT"
- export POL_SCRIPT_FAILED="YES"
- POL_SetupWindow_Close
+# [ "$SETUPWINDOW_INIT" = "true" ] || POL_SetupWindow_Init
+# MESSAGE="$(eval_gettext '$APPLICATION_TITLE has encountered a fatal error. $APPLICATION_TITLE will stop the installation process.\nVisit www.$POL_DNS to get further information')"
+# echo "$POL_COOKIE POL_Debug $$ $MESSAGE $TITLE Error in ${FUNCNAME[1]}\n$(POL_Untab "$@")" | ncns "$POL_HOST" "$POL_PORT"
+# export POL_SCRIPT_FAILED="YES"
+# POL_SetupWindow_Close
exit 1
}
POL_Debug_lspci()

+ 32
- 26
playonlinux/PKGBUILD View File

@ -1,4 +1,5 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: Laurent Carlier <lordheavym@gmail.com>
# Contributor: K. Hampf <khampf@users.sourceforge.net> # Contributor: K. Hampf <khampf@users.sourceforge.net>
# Contributor: Skunnyk <skunnyk@archlinux.fr> # Contributor: Skunnyk <skunnyk@archlinux.fr>
@ -11,13 +12,16 @@ license=('GPL')
depends=('lib32-libpcap' 'imagemagick' 'xterm' 'wxpython2.8' 'cabextract' 'unzip' 'mesa-demos' 'gnupg' depends=('lib32-libpcap' 'imagemagick' 'xterm' 'wxpython2.8' 'cabextract' 'unzip' 'mesa-demos' 'gnupg'
'icoutils' 'xdg-user-dirs' 'libxmu' 'netcat' 'wget' 'p7zip' 'lsb-release') 'icoutils' 'xdg-user-dirs' 'libxmu' 'netcat' 'wget' 'p7zip' 'lsb-release')
arch=('any') arch=('any')
source=(http://www.playonlinux.com/script_files/PlayOnLinux/${pkgver/.0/}/PlayOnLinux_${pkgver/.0/}.tar.gz
0001-remove-menuitems.patch
0002-add-shortcutitems.patch
0003-add-addremoveprograms.patch
0006-disable-updatenotification.patch
0007-disable-closingandwinemessage.patch
0008-typofix.patch)
source=(
"http://www.playonlinux.com/script_files/PlayOnLinux/${pkgver/.0/}/PlayOnLinux_${pkgver/.0/}.tar.gz"
'0001-remove-menuitems.patch'
'0002-add-shortcutitems.patch'
'0003-add-addremoveprograms.patch'
'0006-disable-updatenotification.patch'
'0007-disable-closingandwinemessage.patch'
'0008-typofix.patch'
'0009-patch_disable-crashdialogs.patch'
)
options=(!strip) options=(!strip)
md5sums=('9869697c13010e88cf68607cea334dbd' md5sums=('9869697c13010e88cf68607cea334dbd'
'7c133fe8a4561ad0c4e0f9a61624e891' '7c133fe8a4561ad0c4e0f9a61624e891'
@ -25,30 +29,32 @@ md5sums=('9869697c13010e88cf68607cea334dbd'
'b66fe7f5a15550b18486914b41b0a619' 'b66fe7f5a15550b18486914b41b0a619'
'894c83207ad7d8301708f30babb426fc' '894c83207ad7d8301708f30babb426fc'
'2500bd31bcaf05249cd437b8da0b9402' '2500bd31bcaf05249cd437b8da0b9402'
'eaf67372414a5144fa1da42688f24284')
'eaf67372414a5144fa1da42688f24284'
'85529e015070658c50510c515f098072')
package() { package() {
cd "$srcdir/$pkgname"
patch -Np1 -i "$srcdir/0001-remove-menuitems.patch"
patch -Np1 -i "$srcdir/0002-add-shortcutitems.patch"
patch -Np1 -i "$srcdir/0003-add-addremoveprograms.patch"
patch -Np1 -i "$srcdir/0006-disable-updatenotification.patch"
patch -Np1 -i "$srcdir/0007-disable-closingandwinemessage.patch"
patch -Np1 -i "$srcdir/0008-typofix.patch"
cd "${srcdir}/${pkgname}"
patch -Np1 -i "${srcdir}/0001-remove-menuitems.patch"
patch -Np1 -i "${srcdir}/0002-add-shortcutitems.patch"
patch -Np1 -i "${srcdir}/0003-add-addremoveprograms.patch"
patch -Np1 -i "${srcdir}/0006-disable-updatenotification.patch"
patch -Np1 -i "${srcdir}/0007-disable-closingandwinemessage.patch"
patch -Np1 -i "${srcdir}/0008-typofix.patch"
patch -Np1 -i "${srcdir}/0009-patch_disable-crashdialogs.patch"
install -d $pkgdir/usr/share/$pkgname
install -d $pkgdir/usr/bin
cp -r $srcdir/$pkgname/ $pkgdir/usr/share/
install -d ${pkgdir}/usr/share/${pkgname}
install -d ${pkgdir}/usr/bin
cp -r ${srcdir}/${pkgname}/ ${pkgdir}/usr/share/
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "/usr/share/$pkgname/$pkgname \"\$@\"" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/share/$pkgname/bash/winexec
echo "#!/bin/bash" > ${pkgdir}/usr/bin/${pkgname}
echo "/usr/share/${pkgname}/${pkgname} \"\$@\"" >> ${pkgdir}/usr/bin/${pkgname}
chmod +x ${pkgdir}/usr/bin/${pkgname}
chmod +x ${pkgdir}/usr/share/${pkgname}/bash/winexec
# Needed for wxpython2.8 support, wxpython 3.0 is buggy with POL # Needed for wxpython2.8 support, wxpython 3.0 is buggy with POL
sed -i "s/wxversion.ensureMinimal/wxversion.select/g" $pkgdir/usr/share/$pkgname/python/mainwindow.py
sed -i "s/wxversion.ensureMinimal/wxversion.select/g" ${pkgdir}/usr/share/${pkgname}/python/mainwindow.py
install -D -m644 $srcdir/$pkgname/etc/PlayOnLinux.desktop $pkgdir/usr/share/applications/playonlinux.desktop
sed -i "s/ %F//g" $pkgdir/usr/share/applications/playonlinux.desktop
install -D -m644 ${srcdir}/${pkgname}/etc/PlayOnLinux.desktop ${pkgdir}/usr/share/applications/playonlinux.desktop
sed -i "s/ %F//g" ${pkgdir}/usr/share/applications/playonlinux.desktop
} }

+ 19
- 14
qgifer/PKGBUILD View File

@ -6,13 +6,18 @@ pkgdesc="A video-based animated GIF creator"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='https://sourceforge.net/projects/qgifer' url='https://sourceforge.net/projects/qgifer'
license=('GPL') license=('GPL')
depends=('gcc' 'gcc-libs' 'giflib' 'opencv2' 'qt5-base') #giflib4 4.1.6, no 4.2.X!
#giflib4 4.1.6, no 4.2.X!
depends=('gcc' 'gcc-libs' 'giflib' 'opencv2' 'qt5-base')
makedepends=('cmake') makedepends=('cmake')
source=("http://netix.dl.sourceforge.net/project/qgifer/QGifer-${pkgver}/$_pkgname-${pkgver}-source.tar.gz"
0001_removeframelimit_addcodecs.patch
giflibport.patch
0001_cmakelinkingfix.patch
qt5_sourcecodepatches.patch)
source=(
"http://netix.dl.sourceforge.net/project/qgifer/QGifer-${pkgver}/$_pkgname-${pkgver}-source.tar.gz"
"0001_removeframelimit_addcodecs.patch"
"giflibport.patch"
"0001_cmakelinkingfix.patch"
"qt5_sourcecodepatches.patch"
)
md5sums=('cacfcd25bb32352ea4fbb526c87efa0f' md5sums=('cacfcd25bb32352ea4fbb526c87efa0f'
'6243b22ba569d79f0f90b16d327e26e3' '6243b22ba569d79f0f90b16d327e26e3'
'331217d8aaf8842f68c2acfba68af056' '331217d8aaf8842f68c2acfba68af056'
@ -21,19 +26,19 @@ md5sums=('cacfcd25bb32352ea4fbb526c87efa0f'
prepare() { prepare() {
mkdir build mkdir build
mv $_pkgname-$pkgver-source $pkgname-$pkgver
mv $_pkgname-${pkgver}-source ${pkgname}-${pkgver}
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i "$srcdir/0001_removeframelimit_addcodecs.patch"
patch -Np1 -i "$srcdir/giflibport.patch"
patch -Np1 -i "$srcdir/0001_cmakelinkingfix.patch"
patch -Np1 -i "$srcdir/qt5_sourcecodepatches.patch"
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i "${srcdir}/0001_removeframelimit_addcodecs.patch"
patch -Np1 -i "${srcdir}/giflibport.patch"
patch -Np1 -i "${srcdir}/0001_cmakelinkingfix.patch"
patch -Np1 -i "${srcdir}/qt5_sourcecodepatches.patch"
} }
build() { build() {
cd build cd build
cmake ../$pkgname-$pkgver \
cmake ../${pkgname}-${pkgver} \
-DQT_QMAKE_EXECUTABLE=qmake-qt5 \ -DQT_QMAKE_EXECUTABLE=qmake-qt5 \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr
@ -42,5 +47,5 @@ build() {
package() { package() {
cd build cd build
make DESTDIR="$pkgdir" install
make DESTDIR="${pkgdir}" install
} }

+ 6
- 6
qt-flif-plugin/PKGBUILD View File

@ -1,4 +1,4 @@
# Maintainer: John Jenkins <twodopeshaggy@gmail.com>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=qt-flif-plugin-git pkgname=qt-flif-plugin-git
_pkgname=qt-flif-plugin _pkgname=qt-flif-plugin
@ -16,18 +16,18 @@ source=('git+https://github.com/spillerrec/qt-flif-plugin.git')
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
build() { build() {
cd "$srcdir/${_pkgname}"
cd "${srcdir}/${_pkgname}"
qmake qmake
make make
} }
package() { package() {
cd "$srcdir/${_pkgname}"
cd "${srcdir}/${_pkgname}"
mkdir -p "${pkgdir}/usr/lib/qt/plugins/imageformats/" mkdir -p "${pkgdir}/usr/lib/qt/plugins/imageformats/"
install -m755 "$srcdir/${_pkgname}/libflif.so" "${pkgdir}/usr/lib/qt/plugins/imageformats/"
install -m755 "${srcdir}/${_pkgname}/libflif.so" "${pkgdir}/usr/lib/qt/plugins/imageformats/"
} }

+ 7
- 7
snic/PKGBUILD View File

@ -8,10 +8,10 @@ arch=('any')
url='https://www.github.com/Fincer/snic' url='https://www.github.com/Fincer/snic'
license=('GPL') license=('GPL')
depends=('bash' 'iproute2' 'systemd' 'dhcp' 'hostapd' 'sudo') depends=('bash' 'iproute2' 'systemd' 'dhcp' 'hostapd' 'sudo')
source=("$pkgname-$pkgver.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz")
md5sums=('10aa677d53d1aa8bd78e87e70971c718') md5sums=('10aa677d53d1aa8bd78e87e70971c718')
# Contents of $pkgname-$pkgver.tar.gz (snic-0.1.tar.gz, for instance):
# Contents of ${pkgname}-${pkgver}.tar.gz (snic-0.1.tar.gz, for instance):
# . # .
# .. # ..
@ -25,9 +25,9 @@ md5sums=('10aa677d53d1aa8bd78e87e70971c718')
# snic/snic-wlan0.conf # snic/snic-wlan0.conf
package() { package() {
cd "$srcdir"
mkdir -p "$pkgdir/usr/bin/"
install -Dm 755 snic.sh "$pkgdir/usr/bin/snic"
install -Dm 644 -t "$pkgdir/usr/lib/systemd/system/" systemd/*
install -Dm 644 -t "$pkgdir/etc/snic/" snic/*
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/bin/"
install -Dm 755 snic.sh "${pkgdir}/usr/bin/snic"
install -Dm 644 -t "${pkgdir}/usr/lib/systemd/system/" systemd/*
install -Dm 644 -t "${pkgdir}/etc/snic/" snic/*
} }

+ 9
- 9
sockstat/PKGBUILD View File

@ -11,9 +11,9 @@ pkgver=0.3
pkgrel=1 pkgrel=1
pkgdesc="View information of open connections" pkgdesc="View information of open connections"
url="http://nenolod.net/sockstat" url="http://nenolod.net/sockstat"
arch=(any)
license=(GPL)
makedepends=(glibc)
arch=('any')
license=('GPL')
makedepends=('glibc')
source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${pkgname}/${pkgver}-2/${pkgname}_${pkgver}.orig.tar.gz" source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${pkgname}/${pkgver}-2/${pkgname}_${pkgver}.orig.tar.gz"
10_fix-CHAR-BIT-missing.patch 10_fix-CHAR-BIT-missing.patch
20_add-GCC-hardening.patch 20_add-GCC-hardening.patch
@ -24,20 +24,20 @@ md5sums=('7006cba7a2a193a684e7241067ed4563'
'8544e65d4858c4a1177ec135b18b3e00') '8544e65d4858c4a1177ec135b18b3e00')
prepare() { prepare() {
cd "$srcdir/$pkgname-$pkgver/"
cd "${srcdir}/${pkgname}-${pkgver}/"
patch -Np1 < ../10_fix-CHAR-BIT-missing.patch patch -Np1 < ../10_fix-CHAR-BIT-missing.patch
patch -Np1 < ../20_add-GCC-hardening.patch patch -Np1 < ../20_add-GCC-hardening.patch
patch -Np1 < ../30_add_err-headers.patch patch -Np1 < ../30_add_err-headers.patch
} }
build() { build() {
cd "$srcdir/$pkgname-$pkgver/"
cd "${srcdir}/${pkgname}-${pkgver}/"
make make
} }
package() { package() {
cd "$srcdir/$pkgname-$pkgver/"
mkdir -p "$pkgdir/usr/bin/"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/$pkgname-$pkgver"/sockstat "$pkgdir/usr/bin/sockstat"
cd "${srcdir}/${pkgname}-${pkgver}/"
mkdir -p "${pkgdir}/usr/bin/"
make DESTDIR="${pkgdir}" install
install -Dm755 "${srcdir}/${pkgname}-${pkgver}"/sockstat "${pkgdir}/usr/bin/sockstat"
} }

+ 6
- 6
u3d/PKGBUILD View File

@ -1,4 +1,5 @@
# Maintainer : SpepS <dreamspepser at yahoo dot it>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor : SpepS <dreamspepser at yahoo dot it>
# Contributor: oslik <oslik@mail.ru> # Contributor: oslik <oslik@mail.ru>
pkgname=u3d pkgname=u3d
@ -10,7 +11,9 @@ arch=('i686' 'x86_64')
license=('custom:APACHE') license=('custom:APACHE')
depends=('libpng' 'libjpeg') depends=('libpng' 'libjpeg')
options=('!libtool') options=('!libtool')
source=("./$pkgname-$pkgver.tar.gz")
source=(
"$pkgname-$pkgver.tar.gz"
)
md5sums=('f9d1c6e9b2135c25958c75532f94c77b') md5sums=('f9d1c6e9b2135c25958c75532f94c77b')
build() { build() {
@ -18,7 +21,6 @@ build() {
# missing string.h # missing string.h
sed -i '28i#include <string.h>' RTL/Component/Include/IFXAttributes.h sed -i '28i#include <string.h>' RTL/Component/Include/IFXAttributes.h
./configure --prefix=/usr \ ./configure --prefix=/usr \
--enable-static=no --enable-static=no
make make
@ -26,10 +28,8 @@ build() {
package() { package() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install
# license # license
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
} }

+ 7
- 7
wine-launcher-creator/PKGBUILD View File

@ -1,6 +1,5 @@
#$ $Id$
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: Malina <mali#arch> # Contributor: Malina <mali#arch>
#Maintainer: You?
pkgname=wine-launcher-creator pkgname=wine-launcher-creator
pkgver=1.0.8 pkgver=1.0.8
@ -10,10 +9,12 @@ arch=('any')
url="https://code.google.com/p/wine-launcher-creator/" url="https://code.google.com/p/wine-launcher-creator/"
license=('GPL') license=('GPL')
depends=('python2' 'icoutils' 'xdg-utils' 'python2-pyqt4') depends=('python2' 'icoutils' 'xdg-utils' 'python2-pyqt4')
#makedepends=('intltool')
optdepends=('nautilus-actions: To integrate with nautilus') optdepends=('nautilus-actions: To integrate with nautilus')
source=("./wine-launcher-creator-1.0.8.tar.gz")
install=$pkgname.install
source=(
"wine-launcher-creator-1.0.8.tar.gz"
)
md5sums=('b1b22cfd61dc19a8ef8cf060776008a3')
install=${pkgname}.install
prepare() { prepare() {
cd ${srcdir}/${pkgname} cd ${srcdir}/${pkgname}
@ -31,8 +32,7 @@ sed -i s,/usr/local,/usr,g wlcreator.py
package() { package() {
rm -rf ${pkgdir} rm -rf ${pkgdir}
cd ${srcdir}/${pkgname} cd ${srcdir}/${pkgname}
make prefix="$pkgdir/usr" install
make prefix="${pkgdir}/usr" install
install -Dm0644 wlcreator.desktop ${pkgdir}/usr/share/applications/wlcreator.desktop install -Dm0644 wlcreator.desktop ${pkgdir}/usr/share/applications/wlcreator.desktop
} }
md5sums=('b1b22cfd61dc19a8ef8cf060776008a3')

+ 14
- 15
xclipshow/PKGBUILD View File

@ -1,29 +1,28 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=xclipshow pkgname=xclipshow
pkgver=1 pkgver=1
pkgrel=1 pkgrel=1
pkgdesc="Show information of current clipboard contents" pkgdesc="Show information of current clipboard contents"
url=()
arch=('any') arch=('any')
license=('BSD')
install=''
source=(xclipshow.cpp CMakeLists.txt)
license=('custom')
source=(
'xclipshow.cpp'
'CMakeLists.txt'
)
md5sums=('e445f888db036c7a1dfc7d33294c84f9'
'947756f823b5c82ad3626f46e38c549e')
depends=('cmake' 'qt5-base') depends=('cmake' 'qt5-base')
optdepends=()
conflicts=()
#provides=''
makedepends=()
build() { build() {
cd $srcdir
mkdir build
cd ./build
mkdir -p $srcdir/build
cd build
cmake $srcdir cmake $srcdir
make make
} }
package() { package() {
mkdir -p $pkgdir/usr/bin/
install -Dm 755 $srcdir/build/xclipshow $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/bin/
install -Dm 755 $srcdir/build/xclipshow $pkgdir/usr/bin/
} }
md5sums=('e445f888db036c7a1dfc7d33294c84f9'
'947756f823b5c82ad3626f46e38c549e')

+ 24
- 23
xephem/PKGBUILD View File

@ -1,4 +1,5 @@
# Maintainer: Miguel de Val-Borro <miguel@archlinux.net>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: Miguel de Val-Borro <miguel@archlinux.net>
# Contributor: Matteo Paoluzzi <duwath [at] gmail [dot] com> # Contributor: Matteo Paoluzzi <duwath [at] gmail [dot] com>
# Contributor: jmf <jmf [at] mesecons [dot] net> # Contributor: jmf <jmf [at] mesecons [dot] net>
@ -9,47 +10,47 @@ pkgdesc="The Serious Interactive Astronomical Software Ephemeris"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.clearskyinstitute.com/xephem/xephem.html" url="http://www.clearskyinstitute.com/xephem/xephem.html"
license=("custom") license=("custom")
depends=(libxmu lesstif)
makedepends=()
optdepends=(perl)
source=(http://www.clearskyinstitute.com/xephem/$pkgname-$pkgver.tgz "$pkgname.png" "$pkgname.desktop")
depends=('libxmu' 'lesstif')
optdepends=('perl')
source=(
"http://www.clearskyinstitute.com/xephem/${pkgname}-${pkgver}.tgz"
"${pkgname}.png"
"${pkgname}.desktop"
)
md5sums=('27c67061a89085bf2b0d4e9deb758a79' md5sums=('27c67061a89085bf2b0d4e9deb758a79'
'a0debbe05d0831e4cbddc6d9d378b6d1' 'a0debbe05d0831e4cbddc6d9d378b6d1'
'c8d6ab9e96d6bb2f634c9ac749e3383d') 'c8d6ab9e96d6bb2f634c9ac749e3383d')
build() { build() {
#cd ${srcdir}/$pkgname-$pkgver/
cd ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname
cd ${srcdir}/${pkgname}-${pkgver}/GUI/${pkgname}
export MAKEFLAGS="-j1" export MAKEFLAGS="-j1"
make MOTIF=/usr/lib/ make MOTIF=/usr/lib/
} }
package() { package() {
cd ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname
cd ${srcdir}/${pkgname}-${pkgver}/GUI/${pkgname}
mkdir -p ${pkgdir}/usr/bin mkdir -p ${pkgdir}/usr/bin
cp ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname/xephem ${pkgdir}/usr/bin/
cp ${srcdir}/${pkgname}-${pkgver}/GUI/${pkgname}/xephem ${pkgdir}/usr/bin/
mkdir -p ${pkgdir}/usr/share/$pkgname
mkdir -p ${pkgdir}/usr/share/${pkgname}
cp -R auxil ${pkgdir}/usr/share/$pkgname/
cp -R catalogs ${pkgdir}/usr/share/$pkgname/
cp -R fifos ${pkgdir}/usr/share/$pkgname/
cp -R fits ${pkgdir}/usr/share/$pkgname/
cp -R gallery ${pkgdir}/usr/share/$pkgname/
cp -R help ${pkgdir}/usr/share/$pkgname/
cp -R lo ${pkgdir}/usr/share/$pkgname/
cp -R auxil ${pkgdir}/usr/share/${pkgname}/
cp -R catalogs ${pkgdir}/usr/share/${pkgname}/
cp -R fifos ${pkgdir}/usr/share/${pkgname}/
cp -R fits ${pkgdir}/usr/share/${pkgname}/
cp -R gallery ${pkgdir}/usr/share/${pkgname}/
cp -R help ${pkgdir}/usr/share/${pkgname}/
cp -R lo ${pkgdir}/usr/share/${pkgname}/
mkdir -p ${pkgdir}/usr/share/man/man1/ mkdir -p ${pkgdir}/usr/share/man/man1/
cp xephem.1 ${pkgdir}/usr/share/man/man1/ cp xephem.1 ${pkgdir}/usr/share/man/man1/
# mkdir -p ${pkgdir}/usr/lib/X11/app-defaults
# echo "XEphem.ShareDir: /usr/share/xephem" > ${pkgdir}/usr/lib/X11/app-defaults/XEphem
mkdir -p ${pkgdir}/usr/share/X11/app-defaults mkdir -p ${pkgdir}/usr/share/X11/app-defaults
echo "XEphem.ShareDir: /usr/share/xephem" > ${pkgdir}/usr/share/X11/app-defaults/XEphem echo "XEphem.ShareDir: /usr/share/xephem" > ${pkgdir}/usr/share/X11/app-defaults/XEphem
mkdir -p ${pkgdir}/usr/share/licenses/$pkgname/
cp ${srcdir}/${pkgname}-${pkgver}/Copyright ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
cp ${srcdir}/${pkgname}-${pkgver}/Copyright ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
} }

+ 33
- 19
zsnes-netplay/PKGBUILD View File

@ -1,4 +1,5 @@
# Maintainer: jsteel <mail at jsteel dot org>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: jsteel <mail at jsteel dot org>
# Contributor: Frozen Fox <frozenfoxz@gmail.com> # Contributor: Frozen Fox <frozenfoxz@gmail.com>
# Contributor: Aurelien Foret <orelien@chez.com> # Contributor: Aurelien Foret <orelien@chez.com>
@ -12,26 +13,40 @@ arch=('i686' 'x86_64')
license=('GPL') license=('GPL')
options=(!buildflags) options=(!buildflags)
if [[ $CARCH == "x86_64" ]]; then if [[ $CARCH == "x86_64" ]]; then
depends=('gcc-libs-multilib' 'lib32-sdl' 'lib32-libpng>=1.5.0'
'lib32-libgl' 'lib32-ncurses' 'lib32-mesa')
makedepends=('nasm' 'gcc-multilib')
depends=(
'gcc-libs-multilib'
'lib32-sdl'
'lib32-libpng>=1.5.0'
'lib32-libgl'
'lib32-ncurses'
'lib32-mesa')
makedepends=(
'nasm'
'gcc-multilib'
)
else else
depends=('sdl' 'libpng>=1.5.0' 'mesa')
makedepends=('nasm' 'gcc')
depends=(
'sdl'
'libpng>=1.5.0'
'mesa'
)
makedepends=(
'nasm'
'gcc'
)
fi fi
source=(zsnesnet.tar.gz
# custompath.patch
libpng.patch
$pkgname.desktop)
source=(
'zsnesnet.tar.gz'
'libpng.patch'
"${pkgname}.desktop"
)
md5sums=('325c22d392fb33f720c6c05625884428' md5sums=('325c22d392fb33f720c6c05625884428'
'f7366961f21ed63d0844a3a6d4780bcf' 'f7366961f21ed63d0844a3a6d4780bcf'
'5fb4df4bc32e1d6b1cffb16d9af6563f') '5fb4df4bc32e1d6b1cffb16d9af6563f')
build() { build() {
cd "$srcdir"
# patch -Np1 -i "$srcdir"/custompath.patch
patch -Np1 -i "$srcdir"/libpng.patch
cd "${srcdir}"
patch -Np1 -i "${srcdir}"/libpng.patch
if [ $CARCH == "x86_64" ]; then if [ $CARCH == "x86_64" ]; then
export CC="gcc -m32" export CC="gcc -m32"
@ -39,7 +54,6 @@ build() {
fi fi
chmod +x autogen.sh chmod +x autogen.sh
./autogen.sh --prefix=/usr x_libraries=/usr/lib force_arch=i686 \ ./autogen.sh --prefix=/usr x_libraries=/usr/lib force_arch=i686 \
--enable-release --enable-debug --enable-release --enable-debug
@ -47,11 +61,11 @@ build() {
} }
package() { package() {
cd "$srcdir"
cd "${srcdir}"
make DESTDIR="$pkgdir" install
make DESTDIR="${pkgdir}" install
install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
install -Dm644 "$srcdir"/icons/48x48x32.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
install -Dm644 "${srcdir}"/${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
install -Dm644 "${srcdir}"/icons/48x48x32.png "${pkgdir}"/usr/share/pixmaps/${pkgname}.png
} }

Loading…
Cancel
Save