diff --git a/pidgin-smileys-facebook/PKGBUILD b/pidgin-smileys-facebook/PKGBUILD index a66cdaa..f5b837e 100644 --- a/pidgin-smileys-facebook/PKGBUILD +++ b/pidgin-smileys-facebook/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer: Fincer fincer89 at hotmail dot com> +# Maintainer: Pekka Helenius pkgname=pidgin-smileys-facebook pkgver=1.0 @@ -8,23 +8,21 @@ pkgdesc="Facebook smileys for Pidgin" url="http://www.pidginthemes.com/" license=('GPL') 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' '432b4358b2658b38922a400f2b3cb5bd') -#prepare() { -# patch -Np1 -i "$srcdir/theme-description.patch" -#} +srcloc=.${srcdir}/${pkgname}-${pkgver} -srcloc=.$srcdir/$pkgname-$pkgver 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 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 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 for filename in *.png; do newname=`echo $filename | sed \ @@ -84,46 +66,10 @@ for filename in *.png; do fi 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() { - 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/ } diff --git a/pidgin-smileys-msn/PKGBUILD b/pidgin-smileys-msn/PKGBUILD index 38925a9..bc4608b 100644 --- a/pidgin-smileys-msn/PKGBUILD +++ b/pidgin-smileys-msn/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer: Fincer fincer89 at hotmail dot com> +# Maintainer: Pekka Helenius pkgname=pidgin-smileys-msn pkgver=1.0 @@ -8,18 +8,20 @@ pkgdesc="Windows Live Messenger smileys for Pidgin" url="http://www.pidginthemes.com/" license=('GPL') 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' 'df274aa57db9a63d1be6c1e362da9a83') prepare() { - patch -Np1 -i "$srcdir/theme-description.patch" + patch -Np1 -i "${srcdir}/theme-description.patch" } 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/ } diff --git a/playonlinux/0009-patch_disable-crashdialogs.patch b/playonlinux/0009-patch_disable-crashdialogs.patch new file mode 100644 index 0000000..24e36f1 --- /dev/null +++ b/playonlinux/0009-patch_disable-crashdialogs.patch @@ -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() diff --git a/playonlinux/PKGBUILD b/playonlinux/PKGBUILD index 780a69a..c01bc27 100644 --- a/playonlinux/PKGBUILD +++ b/playonlinux/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: Laurent Carlier +# Maintainer: Pekka Helenius +# Contributor: Laurent Carlier # Contributor: K. Hampf # Contributor: Skunnyk @@ -11,13 +12,16 @@ license=('GPL') depends=('lib32-libpcap' 'imagemagick' 'xterm' 'wxpython2.8' 'cabextract' 'unzip' 'mesa-demos' 'gnupg' 'icoutils' 'xdg-user-dirs' 'libxmu' 'netcat' 'wget' 'p7zip' 'lsb-release') 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) md5sums=('9869697c13010e88cf68607cea334dbd' '7c133fe8a4561ad0c4e0f9a61624e891' @@ -25,30 +29,32 @@ md5sums=('9869697c13010e88cf68607cea334dbd' 'b66fe7f5a15550b18486914b41b0a619' '894c83207ad7d8301708f30babb426fc' '2500bd31bcaf05249cd437b8da0b9402' - 'eaf67372414a5144fa1da42688f24284') + 'eaf67372414a5144fa1da42688f24284' + '85529e015070658c50510c515f098072') 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 - 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 } diff --git a/qgifer/PKGBUILD b/qgifer/PKGBUILD index 147d0ca..53fcae6 100644 --- a/qgifer/PKGBUILD +++ b/qgifer/PKGBUILD @@ -6,13 +6,18 @@ pkgdesc="A video-based animated GIF creator" arch=('i686' 'x86_64') url='https://sourceforge.net/projects/qgifer' 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') -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' '6243b22ba569d79f0f90b16d327e26e3' '331217d8aaf8842f68c2acfba68af056' @@ -21,19 +26,19 @@ md5sums=('cacfcd25bb32352ea4fbb526c87efa0f' prepare() { 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() { cd build - cmake ../$pkgname-$pkgver \ + cmake ../${pkgname}-${pkgver} \ -DQT_QMAKE_EXECUTABLE=qmake-qt5 \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr @@ -42,5 +47,5 @@ build() { package() { cd build - make DESTDIR="$pkgdir" install + make DESTDIR="${pkgdir}" install } diff --git a/qt-flif-plugin/PKGBUILD b/qt-flif-plugin/PKGBUILD index c3869b0..f91a32a 100644 --- a/qt-flif-plugin/PKGBUILD +++ b/qt-flif-plugin/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer: John Jenkins +# Maintainer: Pekka Helenius pkgname=qt-flif-plugin-git _pkgname=qt-flif-plugin @@ -16,18 +16,18 @@ source=('git+https://github.com/spillerrec/qt-flif-plugin.git') sha256sums=('SKIP') 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() { - cd "$srcdir/${_pkgname}" + cd "${srcdir}/${_pkgname}" qmake make } package() { - cd "$srcdir/${_pkgname}" + cd "${srcdir}/${_pkgname}" 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/" } diff --git a/snic/PKGBUILD b/snic/PKGBUILD index 41f8dc9..0ca01ca 100644 --- a/snic/PKGBUILD +++ b/snic/PKGBUILD @@ -8,10 +8,10 @@ arch=('any') url='https://www.github.com/Fincer/snic' license=('GPL') depends=('bash' 'iproute2' 'systemd' 'dhcp' 'hostapd' 'sudo') -source=("$pkgname-$pkgver.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz") 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 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/* } diff --git a/sockstat/PKGBUILD b/sockstat/PKGBUILD index e60b385..f4bc342 100644 --- a/sockstat/PKGBUILD +++ b/sockstat/PKGBUILD @@ -11,9 +11,9 @@ pkgver=0.3 pkgrel=1 pkgdesc="View information of open connections" 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" 10_fix-CHAR-BIT-missing.patch 20_add-GCC-hardening.patch @@ -24,20 +24,20 @@ md5sums=('7006cba7a2a193a684e7241067ed4563' '8544e65d4858c4a1177ec135b18b3e00') prepare() { - cd "$srcdir/$pkgname-$pkgver/" + cd "${srcdir}/${pkgname}-${pkgver}/" patch -Np1 < ../10_fix-CHAR-BIT-missing.patch patch -Np1 < ../20_add-GCC-hardening.patch patch -Np1 < ../30_add_err-headers.patch } build() { - cd "$srcdir/$pkgname-$pkgver/" + cd "${srcdir}/${pkgname}-${pkgver}/" make } 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" } diff --git a/u3d/PKGBUILD b/u3d/PKGBUILD index 8f4fc6b..95030a5 100644 --- a/u3d/PKGBUILD +++ b/u3d/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer : SpepS +# Maintainer: Pekka Helenius +# Contributor : SpepS # Contributor: oslik pkgname=u3d @@ -10,7 +11,9 @@ arch=('i686' 'x86_64') license=('custom:APACHE') depends=('libpng' 'libjpeg') options=('!libtool') -source=("./$pkgname-$pkgver.tar.gz") +source=( + "$pkgname-$pkgver.tar.gz" +) md5sums=('f9d1c6e9b2135c25958c75532f94c77b') build() { @@ -18,7 +21,6 @@ build() { # missing string.h sed -i '28i#include ' RTL/Component/Include/IFXAttributes.h - ./configure --prefix=/usr \ --enable-static=no make @@ -26,10 +28,8 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install # license - install -Dm644 COPYING \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/wine-launcher-creator/PKGBUILD b/wine-launcher-creator/PKGBUILD index 5246cc4..e2c9fdf 100644 --- a/wine-launcher-creator/PKGBUILD +++ b/wine-launcher-creator/PKGBUILD @@ -1,6 +1,5 @@ -#$ $Id$ +# Maintainer: Pekka Helenius # Contributor: Malina -#Maintainer: You? pkgname=wine-launcher-creator pkgver=1.0.8 @@ -10,10 +9,12 @@ arch=('any') url="https://code.google.com/p/wine-launcher-creator/" license=('GPL') depends=('python2' 'icoutils' 'xdg-utils' 'python2-pyqt4') -#makedepends=('intltool') 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() { cd ${srcdir}/${pkgname} @@ -31,8 +32,7 @@ sed -i s,/usr/local,/usr,g wlcreator.py package() { rm -rf ${pkgdir} cd ${srcdir}/${pkgname} - make prefix="$pkgdir/usr" install + make prefix="${pkgdir}/usr" install install -Dm0644 wlcreator.desktop ${pkgdir}/usr/share/applications/wlcreator.desktop } -md5sums=('b1b22cfd61dc19a8ef8cf060776008a3') diff --git a/xclipshow/PKGBUILD b/xclipshow/PKGBUILD index f0e9a3c..ec157cc 100644 --- a/xclipshow/PKGBUILD +++ b/xclipshow/PKGBUILD @@ -1,29 +1,28 @@ +# Maintainer: Pekka Helenius + pkgname=xclipshow pkgver=1 pkgrel=1 pkgdesc="Show information of current clipboard contents" -url=() arch=('any') -license=('BSD') -install='' -source=(xclipshow.cpp CMakeLists.txt) +license=('custom') +source=( + 'xclipshow.cpp' + 'CMakeLists.txt' +) +md5sums=('e445f888db036c7a1dfc7d33294c84f9' + '947756f823b5c82ad3626f46e38c549e') + depends=('cmake' 'qt5-base') -optdepends=() -conflicts=() -#provides='' -makedepends=() build() { - cd $srcdir - mkdir build - cd ./build + mkdir -p $srcdir/build + cd build cmake $srcdir make } 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') diff --git a/xephem/PKGBUILD b/xephem/PKGBUILD index 4513670..fc83713 100644 --- a/xephem/PKGBUILD +++ b/xephem/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: Miguel de Val-Borro +# Maintainer: Pekka Helenius +# Contributor: Miguel de Val-Borro # Contributor: Matteo Paoluzzi # Contributor: jmf @@ -9,47 +10,47 @@ pkgdesc="The Serious Interactive Astronomical Software Ephemeris" arch=('i686' 'x86_64') url="http://www.clearskyinstitute.com/xephem/xephem.html" 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' 'a0debbe05d0831e4cbddc6d9d378b6d1' 'c8d6ab9e96d6bb2f634c9ac749e3383d') build() { - #cd ${srcdir}/$pkgname-$pkgver/ - cd ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname + cd ${srcdir}/${pkgname}-${pkgver}/GUI/${pkgname} export MAKEFLAGS="-j1" make MOTIF=/usr/lib/ } package() { - cd ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname + cd ${srcdir}/${pkgname}-${pkgver}/GUI/${pkgname} 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/ 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 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" } diff --git a/zsnes-netplay/PKGBUILD b/zsnes-netplay/PKGBUILD index 553c117..4af7ee6 100644 --- a/zsnes-netplay/PKGBUILD +++ b/zsnes-netplay/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: jsteel +# Maintainer: Pekka Helenius +# Contributor: jsteel # Contributor: Frozen Fox # Contributor: Aurelien Foret @@ -12,26 +13,40 @@ arch=('i686' 'x86_64') license=('GPL') options=(!buildflags) 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 - depends=('sdl' 'libpng>=1.5.0' 'mesa') - makedepends=('nasm' 'gcc') + depends=( + 'sdl' + 'libpng>=1.5.0' + 'mesa' + ) + makedepends=( + 'nasm' + 'gcc' + ) fi -source=(zsnesnet.tar.gz -# custompath.patch - libpng.patch - $pkgname.desktop) +source=( + 'zsnesnet.tar.gz' + 'libpng.patch' + "${pkgname}.desktop" +) md5sums=('325c22d392fb33f720c6c05625884428' 'f7366961f21ed63d0844a3a6d4780bcf' '5fb4df4bc32e1d6b1cffb16d9af6563f') 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 export CC="gcc -m32" @@ -39,7 +54,6 @@ build() { fi chmod +x autogen.sh - ./autogen.sh --prefix=/usr x_libraries=/usr/lib force_arch=i686 \ --enable-release --enable-debug @@ -47,11 +61,11 @@ build() { } 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 }