summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD10
-rw-r--r--install13
3 files changed, 7 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cfa72e0f371..3a4355e84b4d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,15 @@
pkgbase = ttf-conkyweather
pkgdesc = ConkyWeather font - weather icons
pkgver = 20170224.3f71158
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/altinukshini/conky_blue
- install = install
arch = any
license = GPL
+ makedepends = git
depends = fontconfig
depends = xorg-fonts-encodings
depends = xorg-font-utils
- source = git://github.com/altinukshini/conky_blue
- source = install
+ source = git+https://github.com/altinukshini/conky_blue
md5sums = SKIP
- md5sums = b9b03309f730947d472a63b0e5ca3bb1
pkgname = ttf-conkyweather
-
diff --git a/PKGBUILD b/PKGBUILD
index 5c2cb865457b..9f41c853f9f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,17 @@
pkgname=ttf-conkyweather
pkgver=20170224.3f71158
-pkgrel=1
+pkgrel=2
pkgdesc='ConkyWeather font - weather icons'
url="https://github.com/altinukshini/conky_blue"
license=('GPL')
arch=('any')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-source=("git://github.com/altinukshini/conky_blue"
- 'install')
-install=install
+makedepends=('git')
+source=("git+https://github.com/altinukshini/conky_blue")
package() {
install -dm755 "${pkgdir}"/usr/share/fonts/TTF
install -m644 conky_blue/fonts/conkyweather.ttf "${pkgdir}"/usr/share/fonts/TTF
}
-md5sums=('SKIP'
- 'b9b03309f730947d472a63b0e5ca3bb1')
+md5sums=('SKIP')
diff --git a/install b/install
deleted file mode 100644
index 0fc2f60814bc..000000000000
--- a/install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- fc-cache -s -f > /dev/null
- mkfontscale usr/share/fonts/TTF
- mkfontdir usr/share/fonts/TTF
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}