summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Buzzanca2016-10-20 19:43:28 +0200
committerMarco Buzzanca2016-10-20 19:43:28 +0200
commit5e68d4c0200c28b31fea34371402da2fc12eb3c9 (patch)
tree703a6098dd3ae449305ddca0d18b075e531b1e43
downloadaur-plymouth-theme-monoarch.tar.gz
Initial Release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
-rw-r--r--plymouth-theme-monoarch.install8
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..93f533ffb3e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = plymouth-theme-monoarch
+ pkgdesc = Monochrome Arch Linux theme for Plymouth
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://farsil.github.io/monoarch/
+ install = plymouth-theme-monoarch.install
+ arch = any
+ license = MIT
+ depends = plymouth
+ source = https://github.com/farsil/monoarch/archive/0.1.tar.gz
+ source = plymouth-theme-monoarch.install
+ sha256sums = e26fe7100dbe612b517037a55488f5ae25976b55e60a542c53623073e52a5ca1
+ sha256sums = efc4134ab3a534dbd0b92ec1abc55f17cda2968c0d5c6a855fe0cb760b4b291a
+
+pkgname = plymouth-theme-monoarch
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2400c7e66ce
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Marco Buzzanca <marco /DOT/ bzn /AT/ gmail /DOT/ com>
+pkgname=plymouth-theme-monoarch
+pkgver=0.1
+pkgrel=1
+pkgdesc='Monochrome Arch Linux theme for Plymouth'
+arch=('any')
+url='https://farsil.github.io/monoarch/'
+license=('MIT')
+depends=('plymouth')
+install=$pkgname.install
+source=("https://github.com/farsil/monoarch/archive/$pkgver.tar.gz"
+ "$pkgname.install")
+sha256sums=('e26fe7100dbe612b517037a55488f5ae25976b55e60a542c53623073e52a5ca1'
+ 'efc4134ab3a534dbd0b92ec1abc55f17cda2968c0d5c6a855fe0cb760b4b291a')
+
+package() {
+ cd "$srcdir/monoarch-$pkgver"
+
+ install -d "$pkgdir/usr/share/plymouth/themes/monoarch/images/"
+ install -Dm644 monoarch.* "$pkgdir/usr/share/plymouth/themes/monoarch/"
+ install -Dm644 images/* "$pkgdir/usr/share/plymouth/themes/monoarch/images/"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/plymouth-theme-monoarch.install b/plymouth-theme-monoarch.install
new file mode 100644
index 00000000000..7130cc8d99b
--- /dev/null
+++ b/plymouth-theme-monoarch.install
@@ -0,0 +1,8 @@
+post_install() {
+ printf "\nSet monoarch as plymouth theme in order to use it:\n"
+ printf "# plymouth-set-default-theme -R monoarch\n\n"
+}
+
+post_upgrade() {
+ post_install
+}