summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Burgos2017-05-29 11:58:22 -0600
committerSam Burgos2017-05-29 11:58:22 -0600
commitc353d7b0594a6e0dba8f58bbdbd0def6e00317f6 (patch)
treec37b5dde29f007f201c1f3eb20aa28994a218cfd
parentcdc13821b52802fc31e825e7fb0d5c1b958f160b (diff)
downloadaur-c353d7b0594a6e0dba8f58bbdbd0def6e00317f6.tar.gz
changes on PKGBUILD structure and removing install file since it is no longer needed
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
-rw-r--r--mint-x-icons.install15
3 files changed, 8 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72d5f2eacf8d..f6fefedca000 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = mint-x-icons
pkgdesc = Icon theme for Linux Mint
pkgver = 1.4.2
- pkgrel = 1
+ pkgrel = 2
url = http://packages.linuxmint.com/pool/main/m/mint-x-icons
- install = mint-x-icons.install
arch = any
license = GPL3
depends = gdk-pixbuf2
depends = gtk-update-icon-cache
- options = !strip
- source = http://packages.linuxmint.com/pool/main/m/mint-x-icons/mint-x-icons_1.4.2.tar.xz
+ source = -1.4.2.tar.gz::http://packages.linuxmint.com/pool/main/m/mint-x-icons/mint-x-icons_1.4.2.tar.xz
sha256sums = b50b3d899d13dbac5a88a849989a9e4658251b808f4e14baf48af4f0312805d6
pkgname = mint-x-icons
diff --git a/PKGBUILD b/PKGBUILD
index d6d64d971bdc..49b1ecdc7f0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,14 @@
# Thanks to the Linux Mint project http://linuxmint.com/
pkgname='mint-x-icons'
-pkgver='1.4.2'
-pkgrel='1'
-pkgdesc='Icon theme for Linux Mint'
+pkgver=1.4.2
+pkgrel=2
+pkgdesc="Icon theme for Linux Mint"
arch=('any')
url="http://packages.linuxmint.com/pool/main/m/${pkgname}"
license=('GPL3')
-source=("${url}/${pkgname}_${pkgver}.tar.xz")
-depends=('gdk-pixbuf2' 'gtk-update-icon-cache')
-options=('!strip')
-install="${pkgname}.install"
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/${pkgname}_${pkgver}.tar.xz")
+depends=(gdk-pixbuf2 gtk-update-icon-cache)
sha256sums=('b50b3d899d13dbac5a88a849989a9e4658251b808f4e14baf48af4f0312805d6')
prepare() {
@@ -23,4 +21,4 @@ prepare() {
package() {
cp -dr --no-preserve=ownership "${srcdir}/${pkgname}/usr" "${pkgdir}/"
-}
+} \ No newline at end of file
diff --git a/mint-x-icons.install b/mint-x-icons.install
deleted file mode 100644
index 780f854577b8..000000000000
--- a/mint-x-icons.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- gtk-update-icon-cache -qtf /usr/share/icons/Mint-X
- for color in Aqua Blue Brown Dark Grey Orange Pink Purple Red Sand Teal Yellow; do
- gtk-update-icon-cache -qtf /usr/share/icons/Mint-X-${color}
- done
- gdk-pixbuf-query-loaders --update-cache
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}