Created
April 15, 2015 11:11
-
-
Save badboy/adacfc05c5bd8fb5ee7b to your computer and use it in GitHub Desktop.
Sync-My-L2P for Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> | |
pkgname=sync-my-l2p | |
pkgver=0.2.0 | |
pkgrel=1 | |
pkgdesc="Sync the L2P of the RWTH Aachen with your Computer" | |
arch=('i686' 'x86_64') | |
url="http://www.sync-my-l2p.de/" | |
license=('GPL') | |
depends=('qt5-base' 'hicolor-icon-theme') | |
makedepends=('deb2targz') | |
install=sync-my-l2p.install | |
if true; then | |
source=("https://github.com/Sync-my-L2P/Sync-my-L2P/releases/download/v2.0/sync-my-l2p_2.0.0-0.vivid_amd64.deb") | |
noextract=("sync-my-l2p_2.0.0-0.vivid_amd64.deb") | |
md5sums=('fd331918e31f574935c8e1c1165b87a9') | |
else | |
source=("https://github.com/Sync-my-L2P/Sync-my-L2P/releases/download/v2.0/sync-my-l2p_2.0.0-0.vivid_i386.deb") | |
noextract=("sync-my-l2p_2.0.0-0.vivid_i386.deb") | |
md5sums=() | |
fi | |
prepare() { | |
deb2targz sync-my-l2p_2.0.0-0.vivid_amd64.deb | |
} | |
package() { | |
tar -C $pkgdir -xf sync-my-l2p_2.0.0-0.vivid_amd64.tar.xz | |
} | |
# vim:set ts=2 sw=2 sts=2 et: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post_install() { | |
gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor | |
} | |
post_upgrade() { | |
post_install | |
} | |
post_remove() { | |
post_install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment