diff options
author | Claudia | 2017-05-06 14:46:38 +0200 |
---|---|---|
committer | Claudia Pellegrino | 2017-06-18 16:39:37 +0200 |
commit | aebf105540c674cec04e24d843ccc424b7d15c39 (patch) | |
tree | e2c70db0e16df77c9eed7b61ec9060c923aa036a | |
parent | 7460285ea82a4c4ff58d8900063b71d251f3f41f (diff) | |
download | aur-aebf105540c674cec04e24d843ccc424b7d15c39.tar.gz |
Clean up to meet Arch packaging standards
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | bash-it-git.install | 4 |
2 files changed, 4 insertions, 12 deletions
@@ -1,4 +1,7 @@ # Maintainer: Claudia Pellegrino <aur ät cpellegrino.de> +# Contributor: +# +# PKGBUILD reference: https://wiki.archlinux.org/index.php/PKGBUILD pkgname=bash-it-git pkgver=master @@ -8,17 +11,12 @@ arch=('any') url='https://github.com/Bash-it/bash-it' license=('custom:undecided') depends=('bash') -makedepends=() -checkdepends=() optdepends=( 'ruby: ruby integration' 'rbenv: rbenv integration' ) conflicts=('bash-it') -backup=() -options=() install="${pkgname}.install" -changelog= source=( 'https://github.com/Bash-it/bash-it/tarball/master' 'LICENSE' @@ -29,7 +27,7 @@ sha512sums=( ) noextract=("${pkgname}.tar.gz") -build() { +prepare() { tar -x \ -f "${srcdir}/${pkgname}.tar.gz" -z \ --no-anchored --wildcards -C "${srcdir}" \ @@ -38,8 +36,6 @@ build() { '.editorconfig' 'aliases' 'completion' 'custom' \ 'lib' 'plugins' 'template' 'themes' \ 'CONTRIBUTING.md' 'README.md' '*.sh' - - rm "${srcdir}/${pkgname}.tar.gz" } package() { diff --git a/bash-it-git.install b/bash-it-git.install index 71b4410a9ae0..39534b910205 100644 --- a/bash-it-git.install +++ b/bash-it-git.install @@ -7,7 +7,3 @@ post_remove() { msg2 'Note: To complete removal, restore your' \ 'original `~/.bashrc` file from `~/.bashrc.bak`.' } - -post_upgrade() { - : -} |