mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-21 19:01:31 -08:00
modified: vimscripts-autoclose/PKGBUILD fix source and trade cp for
install
This commit is contained in:
parent
061efdb373
commit
e35d64b308
@ -10,7 +10,7 @@ pkgbase = vimscripts-autoclose
|
|||||||
provides = vimscripts-autoclose
|
provides = vimscripts-autoclose
|
||||||
conflicts = vim-autoclose
|
conflicts = vim-autoclose
|
||||||
replaces = vim-autoclose
|
replaces = vim-autoclose
|
||||||
source = https://github.com/vim-scripts/AutoClose/archive/1.2.tar.gz
|
source = vimscripts-autoclose-1.2.tar.gz::https://github.com/vim-scripts/AutoClose/archive/1.2.tar.gz
|
||||||
md5sums = 8eb8630367d6978f3e2696df27eff4eb
|
md5sums = 8eb8630367d6978f3e2696df27eff4eb
|
||||||
|
|
||||||
pkgname = vimscripts-autoclose
|
pkgname = vimscripts-autoclose
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
# Maintainer: Trent Palmer trenttdually at gmail
|
# Maintainer: Trent Palmer trenttdually at gmail
|
||||||
|
|
||||||
pkgname='vimscripts-autoclose'
|
pkgname='vimscripts-autoclose'
|
||||||
|
|
||||||
# hack $SRCDEST because the source tarball download name is too generic
|
|
||||||
SRCDEST="/tmp/makepkg/${pkgname}"
|
|
||||||
[[ -d "${SRCDEST}" ]] || mkdir -p "${SRCDEST}"
|
|
||||||
|
|
||||||
_srcpkgname='AutoClose'
|
_srcpkgname='AutoClose'
|
||||||
pkgver=1.2
|
pkgver=1.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
@ -26,7 +21,7 @@ backup=()
|
|||||||
options=()
|
options=()
|
||||||
install=
|
install=
|
||||||
changelog=
|
changelog=
|
||||||
source=("https://github.com/vim-scripts/AutoClose/archive/${pkgver}.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/vim-scripts/AutoClose/archive/${pkgver}.tar.gz")
|
||||||
noextract=()
|
noextract=()
|
||||||
md5sums=('8eb8630367d6978f3e2696df27eff4eb')
|
md5sums=('8eb8630367d6978f3e2696df27eff4eb')
|
||||||
validpgpkeys=()
|
validpgpkeys=()
|
||||||
@ -40,7 +35,5 @@ package() {
|
|||||||
cp -r "${srcdir}/${_srcpkgname}-${pkgver}/plugin" \
|
cp -r "${srcdir}/${_srcpkgname}-${pkgver}/plugin" \
|
||||||
"$pkgdir/usr/share/vim/vimfiles"
|
"$pkgdir/usr/share/vim/vimfiles"
|
||||||
|
|
||||||
mkdir -p "$pkgdir/usr/share/doc/${pkgname}"
|
install -D -m644 "${srcdir}/${_srcpkgname}-${pkgver}/README" $pkgdir/usr/share/doc/$pkgname/README
|
||||||
cp "${srcdir}/${_srcpkgname}-${pkgver}/README" \
|
|
||||||
"$pkgdir/usr/share/doc/${pkgname}"
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user