summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroltulu2018-05-19 18:54:47 +0300
committeroltulu2018-05-19 18:54:47 +0300
commit4ed4347363259f0595c3871ceac60f37db050d13 (patch)
tree1a8b4cd6faf3d81cede483fca0f4bcb8a0cfb482
downloadaur-4ed4347363259f0595c3871ceac60f37db050d13.tar.gz
PKGBUILD .SRCINFO
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD53
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4bf2735402f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = aylinux-plymouth-tema-ayar
+ pkgdesc = Plymouth tema ayarlama programı
+ pkgver = 0.7
+ pkgrel = 1
+ url = https://github.com/oltulu/Aylinux-Plymouth-Tema-Ayar
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = qt5-base
+ depends = plymouth
+ source = aylinux-plymouth-tema-ayar::git+https://github.com/oltulu/Aylinux-Plymouth-Tema-Ayar.git
+ md5sums = SKIP
+
+pkgname = aylinux-plymouth-tema-ayar
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..445fe67b965
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+pkgname=aylinux-plymouth-tema-ayar
+pkgver=0.7
+pkgrel=1
+pkgdesc="Plymouth tema ayarlama programı"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('plymouth')
+makedepends=('git' 'qt5-base')
+
+url='https://github.com/oltulu/Aylinux-Plymouth-Tema-Ayar'
+
+source=("${pkgname}::git+https://github.com/oltulu/Aylinux-Plymouth-Tema-Ayar.git")
+md5sums=('SKIP')
+
+prepare() {
+ cd ${srcdir}/${pkgname}
+}
+
+build() {
+cd ${srcdir}/${pkgname}
+qmake-qt5 Aylinux-Plymouth.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
+make
+}
+
+package(){
+ cd ${srcdir}/${pkgname}
+ make DESTDIR="$pkgdir/" install
+
+
+# Başlatıcı
+mkdir -pv $pkgdir/usr/share/applications &&
+cat > $pkgdir/usr/share/applications/$pkgname.desktop << "EOF" &&
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Exec=sudo -i Aylinux-Plymouth
+Icon=/usr/share/aylinux-plymouth/archlinux.png
+Name=Aylinux-Plymouth
+StartupNotify=true
+Comment=Plymouth Teması Ayarlama
+Terminal=false
+Type=Application
+Categories=System;
+EOF
+
+ mkdir -pv $pkgdir/usr/share/aylinux-plymouth
+ mkdir -pv $pkgdir/usr/share/plymouth/themes
+ mv Aylinux-Plymouth $pkgdir/usr/share/aylinux-plymouth/
+ mv archlinux.png $pkgdir/usr/share/aylinux-plymouth/
+ mkdir -pv $pkgdir/usr/bin
+ ln -s "/usr/share/aylinux-plymouth/Aylinux-Plymouth" "$pkgdir/usr/bin/Aylinux-Plymouth"
+ cp -r resimler $pkgdir/usr/share/aylinux-plymouth/
+ cp -r temalar/* $pkgdir/usr/share/plymouth/themes/
+}