summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD18
-rw-r--r--ttf-consolas-with-yahei-powerline-git.install11
3 files changed, 13 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9fdbfaa05e33..e75a7cc027ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,10 +3,10 @@ pkgbase = ttf-consolas-with-yahei-powerline-git
pkgver = r14.b6e9163
pkgrel = 1
url = https://github.com/crvdgc/Consolas-with-Yahei
- install = ttf-consolas-with-yahei-powerline-git.install
arch = any
- depends = fontconfig
- depends = xorg-font-utils
+ license = unknown
+ makedepends = git
+ provides = ttf-consolas-with-yahei
conflicts = ttf-consolas-with-yahei
source = git+https://github.com/crvdgc/Consolas-with-Yahei.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 70f63bf3e2fe..826733fe2f7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,21 @@
-# Maintainer: Edward Pacman <edward@edward-p.xyz>
+# Contributor: katt <magunasu.b97@gmail.com>
+# Contributor: Edward Pacman <edward@edward-p.xyz>
_pkgname='consolas-with-yahei'
-pkgname=ttf-consolas-with-yahei-powerline-git
+pkgname=ttf-$_pkgname-powerline-git
pkgver=r14.b6e9163
pkgrel=1
pkgdesc="Consolas-with-Yahei with powerline patched with nerd-fonts)"
arch=(any)
-url=https://github.com/crvdgc/Consolas-with-Yahei
-depends=(fontconfig xorg-font-utils)
-conflicts=(ttf-consolas-with-yahei)
-install=$pkgname.install
-source=("git+https://github.com/crvdgc/Consolas-with-Yahei.git")
+url='https://github.com/crvdgc/Consolas-with-Yahei'
+license=(unknown)
+makedepends=(git)
+provides=(ttf-$_pkgname)
+conflicts=(ttf-$_pkgname)
+source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/Consolas-with-Yahei"
+ cd "Consolas-with-Yahei"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
diff --git a/ttf-consolas-with-yahei-powerline-git.install b/ttf-consolas-with-yahei-powerline-git.install
deleted file mode 100644
index 222aaa8e0a8f..000000000000
--- a/ttf-consolas-with-yahei-powerline-git.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- fc-cache -s
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}