summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0d1bc009ddde74d34c420bcfdf620b78dcf2a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Radim Sückr <kontakt@radimsuckr.cz>
# Contributor: F Carpano < gmail-com: daert781 >
# Contributor: Anthony Samartsev <kycok@archlinux.info>

pkgname=xcursor-osx-elcap
pkgver=1.00
pkgrel=6
pkgdesc="Cursor theme from OSX"
arch=(any)
makedepends=(curl)
url="https://www.gnome-look.org/p/1084939/"
license=(GPL)
_url='https://www.gnome-look.org/dl?file_id=1515308735&file_type=application/x-bzip2&file_name=OSX-ElCap-(KDE).R2.tar.bz2&file_size=31214&has_torrent=0&project_id=1084939&link_type=download&is_external=false&external_link=null'
_url_agent='Mozilla/5.0 (X11; Linux x86_64)'
source=("OSX-ElCap-(KDE).R2.tar.bz2::$(_secrets=$(curl -sL --user-agent "$_url_agent" --cookie-jar - "$_url"); curl -sSL "$_url" --user-agent "$_url_agent" --data-raw "csrf_hash=$(echo "$_secrets" | tr -d '[:space:]' | grep -Po '(?<=csrf_hash"value=")[^"]+(?=")')&download_source=Continue+Download" --cookie "$(echo "$_secrets" | grep -Po '# Netscape HTTP Cookie File.+$')" | tr -d '[:space:]' | grep -Po '(?<=top.location.href\=")[^"]+(?=")')")
sha512sums=('7db6bc6266fc99358e35d203b767ffb9a6883bad40d8f4332f85214609859583c29e637a339cc1f386e581bc43cd9365088cc277c8ee1493c49d03f17ec45695')

package() {
	cd $srcdir
	mkdir -p $pkgdir/usr/share/icons
	cp -r 'OSX-ElCap-(KDE)/OSX-ElCap' $pkgdir/usr/share/icons
}