summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-07-09 18:08:28 +0300
committerDimitris Kiziridis2020-07-09 18:08:28 +0300
commite0657335e16933270c998c100cace218f5459442 (patch)
treecd5fa30809446884a2b2e6ee59d541f916a3fe8b
downloadaur-e0657335e16933270c998c100cace218f5459442.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..df4e4a0f7cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = grub-theme-poly-dark-git
+ pkgdesc = Simple dark GRUB theme
+ pkgver = r43.567b00c
+ pkgrel = 1
+ url = https://www.pling.com/p/1230780
+ arch = any
+ license = MIT
+ makedepends = git
+ optdepends = grub-customizer: GUI tool to configure GRUB
+ source = poly-dark::git+https://github.com/shvchk/poly-dark
+ sha256sums = SKIP
+
+pkgname = grub-theme-poly-dark-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5b55f6bccc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=grub-theme-poly-dark-git
+pkgver=r43.567b00c
+pkgrel=1
+pkgdesc='Simple dark GRUB theme'
+arch=('any')
+url='https://www.pling.com/p/1230780'
+license=('MIT')
+optdepends=('grub-customizer: GUI tool to configure GRUB')
+makedepends=('git')
+source=("poly-dark::git+https://github.com/shvchk/poly-dark")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd poly-dark
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ install -dm755 "${pkgdir}"/usr/share/grub/themes/
+ install -Dm644 poly-dark/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cp -r --no-preserve=ownership poly-dark "${pkgdir}"/usr/share/grub/themes/
+ rm -rf "${pkgdir}"/usr/share/grub/themes/poly-dark/.git
+ rm "${pkgdir}"/usr/share/grub/themes/poly-dark/LICENSE
+ rm "${pkgdir}"/usr/share/grub/themes/poly-dark/README.md
+ rm "${pkgdir}"/usr/share/grub/themes/poly-dark/install.sh
+} \ No newline at end of file