diff options
author | zenekron | 2018-03-29 09:54:56 +0200 |
---|---|---|
committer | zenekron | 2018-03-29 10:56:50 +0200 |
commit | 3d3bfa11050bfd125941d2d8d061dbb1339d71b7 (patch) | |
tree | 4dd1210196e12534ebef672586bcfe30cad6a4cd | |
download | aur-3d3bfa11050bfd125941d2d8d061dbb1339d71b7.tar.gz |
Init repo
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..552e42f46576 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = konsole-dracula-git + pkgdesc = Dracula theme for konsole + pkgver = r0 + pkgrel = 1 + url = https://draculatheme.com/konsole/ + arch = any + license = MIT + makedepends = git + depends = konsole + provides = konsole-dracula + conflicts = konsole-dracula + source = konsole-dracula-git::git+https://github.com/dracula/konsole + md5sums = SKIP + +pkgname = konsole-dracula-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..218620e2fb38 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!/PKGBUILD +!/.SRCINFO +!/.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c38292be534 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: zenekron <zenekron@gmail.com> +pkgname=konsole-dracula-git +pkgver=r0 +pkgrel=1 +pkgdesc="Dracula theme for konsole" +arch=("any") +url="https://draculatheme.com/konsole/" +license=("MIT") +depends=("konsole") +makedepends=("git") +provides=("konsole-dracula") +conflicts=("konsole-dracula") +source=("$pkgname::git+https://github.com/dracula/konsole") +md5sums=("SKIP") + +pkgver() { + cd "$srcdir/$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/$pkgname" + install -D "Dracula.colorscheme" "$pkgdir/usr/share/konsole/Dracula.colorscheme" + install -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + |