diff options
author | Ted Alff | 2018-08-30 23:03:01 -0400 |
---|---|---|
committer | Ted Alff | 2018-08-30 23:03:01 -0400 |
commit | 4cd18b2ffeb4b46fd241a073d9fb1de41d1a35f5 (patch) | |
tree | e506a5912057b055171b95c500491077f18bbcda | |
parent | 41e8a48ce5eea47774e07fb533c316acb1895a55 (diff) | |
download | aur-4cd18b2ffeb4b46fd241a073d9fb1de41d1a35f5.tar.gz |
Update source address, PKGBUILD cleanup.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 37 insertions, 34 deletions
@@ -1,14 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Aug 31 03:02:37 UTC 2018 pkgbase = dockbarx-dock-theme pkgdesc = DockBarX Theme - pkgver = 1 - pkgrel = 3 - url = http://bigrza.deviantart.com/art/Dock-theme-for-DockbarX-164283521 + pkgver = 20100516 + pkgrel = 1 + epoch = 1 + url = https://www.deviantart.com/bigrza/art/Dock-theme-for-DockbarX-164283521 arch = any groups = dockbarx-themes - license = GPL + license = CCPL:cc-by-nc-3.0 makedepends = imagemagick depends = dockbarx - source = http://fc05.deviantart.net/fs70/f/2010/136/c/5/Dock_theme_for_DockbarX_by_BigRZA.zip + source = https://orig00.deviantart.net/fcfe/f/2010/136/c/5/dock_theme_for_dockbarx_by_bigrza.zip sha256sums = ec6da776ca93fa5e470ee09788e988032a2c9131d770e861a4d5353d30837d89 pkgname = dockbarx-dock-theme @@ -1,53 +1,53 @@ # Contributor: twa022 <twa022@gmail.com> pkgname=dockbarx-dock-theme -pkgver=1 -pkgrel=3 +epoch=1 +pkgver=20100516 +pkgrel=1 pkgdesc="DockBarX Theme" arch=('any') -url="http://bigrza.deviantart.com/art/Dock-theme-for-DockbarX-164283521" -license=('GPL') +url="https://www.deviantart.com/bigrza/art/Dock-theme-for-DockbarX-164283521" +license=('CCPL:cc-by-nc-3.0') depends=('dockbarx') makedepends=('imagemagick') groups=('dockbarx-themes') -source=('http://fc05.deviantart.net/fs70/f/2010/136/c/5/Dock_theme_for_DockbarX_by_BigRZA.zip') -#DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 -H -U Mozilla -O %o %u') +source=('https://orig00.deviantart.net/fcfe/f/2010/136/c/5/dock_theme_for_dockbarx_by_bigrza.zip') sha256sums=('ec6da776ca93fa5e470ee09788e988032a2c9131d770e861a4d5353d30837d89') package () { - install -D -m644 ${srcdir}/Dock.tar.gz ${pkgdir}/usr/share/dockbarx/themes/Dock.tar.gz - install -D -m644 ${srcdir}/DockV.tar.gz ${pkgdir}/usr/share/dockbarx/themes/Dock-Vertical.tar.gz - cd ${srcdir} + install -D -m644 "${srcdir}"/Dock.tar.gz "${pkgdir}"/usr/share/dockbarx/themes/Dock.tar.gz + install -D -m644 "${srcdir}"/DockV.tar.gz "${pkgdir}"/usr/share/dockbarx/themes/Dock-Vertical.tar.gz + cd "${srcdir}" - mkdir -p ${srcdir}/Dock-Tight - tar -zxf ${srcdir}/Dock.tar.gz -C ${srcdir}/Dock-Tight - sed -i 's:aspect_ratio="3/2":aspect_ratio="1/1":' ${srcdir}/Dock-Tight/config - sed -i 's:<theme name = "Dock">:<theme name = "Dock-Tight">:' ${srcdir}/Dock-Tight/config - for _png in $( find ${srcdir}/Dock-Tight/pixmaps -name *png ) ; do - if [[ "$( basename ${_png} )" == 'launcherbutton.png' ]] ; then - convert -shave 11x0 ${_png} ${_png} + mkdir -p "${srcdir}"/Dock-Tight + tar -zxf "${srcdir}"/Dock.tar.gz -C "${srcdir}"/Dock-Tight + sed -i 's:aspect_ratio="3/2":aspect_ratio="1/1":' "${srcdir}"/Dock-Tight/config + sed -i 's:<theme name = "Dock">:<theme name = "Dock-Tight">:' "${srcdir}"/Dock-Tight/config + for _png in $( find "${srcdir}"/Dock-Tight/pixmaps -name *png ) ; do + if [[ "$( basename "${_png}" )" == 'launcherbutton.png' ]] ; then + convert -shave 11x0 "${_png}" "${_png}" else - convert -shave 10x0 ${_png} ${_png} + convert -shave 10x0 "${_png}" "${_png}" fi done - cd ${srcdir}/Dock-Tight/ + cd "${srcdir}"/Dock-Tight/ tar -czf Dock-Tight.tar.gz * - install -D -m644 ${srcdir}/Dock-Tight/Dock-Tight.tar.gz ${pkgdir}/usr/share/dockbarx/themes/Dock-Tight.tar.gz + install -D -m644 "${srcdir}"/Dock-Tight/Dock-Tight.tar.gz "${pkgdir}"/usr/share/dockbarx/themes/Dock-Tight.tar.gz - mkdir -p ${srcdir}/DockV-Tight - tar -zxf ${srcdir}/DockV.tar.gz -C ${srcdir}/DockV-Tight - sed -i 's:aspect_ratio="4/3":aspect_ratio="1/1":' ${srcdir}/DockV-Tight/config - sed -i 's:<theme name = "DockV">:<theme name = "DockV-Tight">:' ${srcdir}/DockV-Tight/config - for _png in $( find ${srcdir}/DockV-Tight/pixmaps -name *png ) ; do - if [[ "$( basename ${_png} )" == 'launcherbutton.png' ]] ; then - convert -shave 0x11 ${_png} ${_png} + mkdir -p "${srcdir}"/DockV-Tight + tar -zxf "${srcdir}"/DockV.tar.gz -C "${srcdir}"/DockV-Tight + sed -i 's:aspect_ratio="4/3":aspect_ratio="1/1":' "${srcdir}"/DockV-Tight/config + sed -i 's:<theme name = "DockV">:<theme name = "DockV-Tight">:' "${srcdir}"/DockV-Tight/config + for _png in $( find "${srcdir}"/DockV-Tight/pixmaps -name *png ) ; do + if [[ "$( basename "${_png}" )" == 'launcherbutton.png' ]] ; then + convert -shave 0x11 "${_png}" "${_png}" else - convert -shave 0x10 ${_png} ${_png} + convert -shave 0x10 "${_png}" "${_png}" fi done - cd ${srcdir}/DockV-Tight/ + cd "${srcdir}"/DockV-Tight/ tar -czf DockV-Tight.tar.gz * - install -D -m644 ${srcdir}/DockV-Tight/DockV-Tight.tar.gz ${pkgdir}/usr/share/dockbarx/themes/DockV-Tight.tar.gz + install -D -m644 "${srcdir}"/DockV-Tight/DockV-Tight.tar.gz "${pkgdir}"/usr/share/dockbarx/themes/DockV-Tight.tar.gz } |