summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbobi2020-01-09 15:22:04 +0100
committerbobi2020-01-09 15:22:04 +0100
commit26585461ec7c5aac513d9f6057442918943b8e77 (patch)
treefabe230cab3e4d06d7aac8c39e0daf7454e81ef7
parent38c86f1afb28794f96db9a8f31cde4db646ca259 (diff)
downloadaur-26585461ec7c5aac513d9f6057442918943b8e77.tar.gz
Getting rid of pup dependency
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ce853b7c8e4..8bb49979578b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = buuf-icon-theme
pkgdesc = An icon theme for Gnome based on the Buuf iconset by Mattahan
pkgver = 3.34
- pkgrel = 1
+ pkgrel = 2
url = http://buuficontheme.free.fr
arch = any
license = cc-by-nc-sa
- makedepends = pup
depends = hicolor-icon-theme
- source = https://dllb2.pling.com/api/files/download/id/1572174181/s/3d8b25bbfa822d6c2fe0998f0336b20248c1355ca1137f027d54c60e4d818001c8d21601a8c71eab5702a9f55987c0eccdd1d11c6537dd68fbdb727b1cea8851/t/1578581273/c/3d8b25bbfa822d6c2fe0998f0336b20248c1355ca1137f027d54c60e4d818001c8d21601a8c71eab5702a9f55987c0eccdd1d11c6537dd68fbdb727b1cea8851/lt/download/buuf3.34.tar.xz
+ source = https://dllb2.pling.com/api/files/download/id/1572174181/s/a99b3b9694ceed9ec1ee37a3320310f07d836a63cad2ea817ad09da65738bf9a4ad0a1b4e01b2de0085cbe09147b71512e2dc0e9d8d6e109cd791ca84f1fc766/t/1578583304/c/a99b3b9694ceed9ec1ee37a3320310f07d836a63cad2ea817ad09da65738bf9a4ad0a1b4e01b2de0085cbe09147b71512e2dc0e9d8d6e109cd791ca84f1fc766/lt/download/buuf3.34.tar.xz
md5sums = 0edbcd3d019d4a9b5fc0478168aac263
pkgname = buuf-icon-theme
diff --git a/PKGBUILD b/PKGBUILD
index 6c3fca80e758..ebe3c359afdd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,18 +6,15 @@
pkgname=buuf-icon-theme
pkgdesc="An icon theme for Gnome based on the Buuf iconset by Mattahan"
pkgver=3.34
-pkgrel=1
+pkgrel=2
arch=('any')
url="http://buuficontheme.free.fr"
license=('cc-by-nc-sa')
depends=('hicolor-icon-theme')
-makedepends=('pup')
plingurl="https://www.pling.com/dl?file_id=1572174181&file_type=application/x-xz&file_name=buuf$pkgver.tar.xz&file_size=21660564&project_id=1012512&link_type=download&is_external=false&external_link=null"
-source=($(curl -sX POST "$plingurl" | pup -i 0 '.empty-action > script' | sed '2q;d' | sed 's/^[^"]*"//' | sed 's/".*$//'))
-
-#source=(buuf$pkgver.tar.xz)
+source=($(curl -sX POST "$plingurl" | sed -n -e '/class="empty"/,/\/section/p' | awk '/script/,/\/script/' | sed 's/^[^"]*"//' | sed 's/"[^"]*$//'))
package() {
mkdir -p "$pkgdir"/usr/share/icons/$pkgname/