summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2018-02-21 11:58:09 -0600
committerDoug Newgard2018-02-21 11:58:09 -0600
commit879aa226a79877f7574ec6d94c46a9655971fb22 (patch)
tree3ff92b7bb2ae8c812103cdce47d7f2699d7250d2
parent21cbb35186dd9704d2a34d3a1636035fc5b83d3c (diff)
downloadaur-customizepkg-scripting.tar.gz
Add missing deps, rename source file, and simplify
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 12cf40459f3..92a86b71e36 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
pkgbase = customizepkg-scripting
pkgdesc = A tool to modify automatically PKGBUILDs - modified to just run scripts
pkgver = 0.4.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Scimmia22/customizepkg-scripting
arch = any
license = GPL2
depends = bash
depends = diffutils
+ depends = coreutils
+ depends = grep
optdepends = vim: for vimdiff
provides = customizepkg
conflicts = customizepkg
- source = https://github.com/Scimmia22/customizepkg-scripting/archive/0.4.1.tar.gz
+ source = customizepkg-scripting-0.4.1.tar.gz::https://github.com/Scimmia22/customizepkg-scripting/archive/0.4.1.tar.gz
sha256sums = c9968f443395f4716a2fe42eb4ff1d379d3a81e04c149bf02c6ac2b50cfe61f8
pkgname = customizepkg-scripting
diff --git a/PKGBUILD b/PKGBUILD
index 85a099e5836..3899da201a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,22 @@
pkgname=customizepkg-scripting
pkgver=0.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="A tool to modify automatically PKGBUILDs - modified to just run scripts"
url="https://github.com/Scimmia22/customizepkg-scripting"
license=('GPL2')
arch=('any')
-depends=('bash' 'diffutils')
+depends=('bash' 'diffutils' 'coreutils' 'grep')
optdepends=('vim: for vimdiff')
provides=('customizepkg')
conflicts=('customizepkg')
-source=("https://github.com/Scimmia22/$pkgname/archive/$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Scimmia22/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('c9968f443395f4716a2fe42eb4ff1d379d3a81e04c149bf02c6ac2b50cfe61f8')
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
- install -Dm755 customizepkg "$pkgdir/usr/bin/customizepkg"
- install -Dm644 instructions "$pkgdir/etc/customizepkg.d/instructions"
+ install -Dm755 customizepkg -t "$pkgdir/usr/bin/"
+ install -Dm644 instructions -t "$pkgdir/etc/customizepkg.d/"
}