summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD40
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e14a271e4bb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = plymouth-theme-alter-pp
+ pkgdesc = AlterLinux用のplymouthテーマ
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/yamad-linuxer/plymouth-theme-alter
+ arch = any
+ license = GPL
+ depends = plymouth
+ conflicts = plymouth-theme-alter-pp-git
+ source = https://github.com/yamad-linuxer/plymouth-theme-alter/archive/1.0.0.zip
+ md5sums = 6583b328581df987c6b22bfcc815dc13
+
+pkgname = plymouth-theme-alter-pp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7dcd05e9ec2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Yamada Hayao <shun819.mail@gmail.com>
+# Contributor: YamaD <yamad.linuxer@gmail.com>
+
+pkgname=plymouth-theme-alter-pp
+_themename=alter-pp
+_pkgname=plymouth-theme-alter
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="AlterLinux用のplymouthテーマ"
+arch=('any')
+url=https://github.com/yamad-linuxer/plymouth-theme-alter
+license=('GPL')
+depends=('plymouth')
+optdepends=()
+source=("${url}/archive/${pkgver}.zip")
+md5sums=('6583b328581df987c6b22bfcc815dc13')
+conflicts=('plymouth-theme-alter-pp-git')
+
+
+prepare () {
+ cd "${srcdir}"
+ mv ${_pkgname}-${pkgver}/${_themename} ./
+ rm -rf "${_pkgname}-${pkgver}"
+ rm ./${pkgver}.zip
+}
+
+build () {
+ cd "${srcdir}"
+ mkdir -p ./usr/share/plymouth/themes/${_themename}/
+ cp -r ./${_themename}/intro/* ./usr/share/plymouth/themes/${_themename}/
+ cp -r ./${_themename}/loop/* ./usr/share/plymouth/themes/${_themename}/
+ cp -r ./${_themename}/misc/* ./usr/share/plymouth/themes/${_themename}/
+
+ rm -rf ${_themename}
+}
+
+package() {
+ mkdir -p "$pkgdir"
+ cp -r * "$pkgdir"
+}