OSDN Git Service

[update] : Added script PKGBUILD.
authorhayao <shun819.mail@gmail.com>
Fri, 24 Apr 2020 11:20:01 +0000 (20:20 +0900)
committerhayao <shun819.mail@gmail.com>
Fri, 24 Apr 2020 11:20:01 +0000 (20:20 +0900)
stable/eg-installer-scripts-git/PKGBUILD [new file with mode: 0644]
stable/eg-installer/PKGBUILD
unstable/eg-installer-git/PKGBUILD

diff --git a/stable/eg-installer-scripts-git/PKGBUILD b/stable/eg-installer-scripts-git/PKGBUILD
new file mode 100644 (file)
index 0000000..5ee9733
--- /dev/null
@@ -0,0 +1,26 @@
+# Maintainer: Yamada Hayao <shun819.mail@gmail.com>
+pkgname=eg-installer-scripts-git
+_pkgname=eg-installer-scripts
+pkgver=r1.93e2836
+pkgrel=1
+pkgdesc="zenityとbashで書かれた項目の追加が簡単なパッケージインストーラー"
+arch=('any')
+url=https://github.com/Hayao0819/EG-Installer
+license=('MIT')
+depends=('zenity' 'bash' 'pacman')
+optdepends=('eg-installer: To use those scripts.')
+source=("git+https://github.com/Hayao0819/eg-installer-scripts.git")
+md5sums=('SKIP')
+conflicts=('eg-installer-git')
+
+pkgver() {
+  cd "${_pkgname}"
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+
+package() {
+    mkdir -p "${pkgdir}/etc/eg-installer/softwares/"
+    cp -r "${srcdir}/${_pkgname}/"* "${pkgdir}/etc/eg-installer/softwares/"
+}
+
index 3584b26..b247544 100644 (file)
@@ -7,7 +7,7 @@ pkgdesc="zenityとbashで書かれた項目の追加が簡単なパッケージ
 arch=('any')
 url=https://github.com/Hayao0819/EG-Installer
 license=('MIT')
-depends=('zenity' 'bash' 'pacman')
+depends=('zenity' 'bash' 'pacman' 'eg-installer-scripts-git')
 optdepends=()
 source=("https://github.com/Hayao0819/EG-Installer/archive/v${pkgver}.tar.gz" "config") 
 md5sums=('SKIP' 'SKIP')
index 1b57e11..25787c9 100644 (file)
@@ -8,7 +8,7 @@ pkgdesc="zenityとbashで書かれた項目の追加が簡単なパッケージ
 arch=('any')
 url=https://github.com/Hayao0819/EG-Installer
 license=('MIT')
-depends=('zenity' 'bash' 'pacman')
+depends=('zenity' 'bash' 'pacman' 'eg-installer-scripts-git')
 optdepends=()
 source=("git+https://github.com/Hayao0819/EG-Installer.git" "config")
 md5sums=('SKIP' 'SKIP')