Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Remove Vim modelines from PKGBUILDs that force a certain indentation
Browse files Browse the repository at this point in the history
style

Replace spaces with tabs
  • Loading branch information
jrstjohn committed Feb 12, 2014
1 parent 1dfaed0 commit c82b3dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
6 changes: 2 additions & 4 deletions PKGBUILD
Expand Up @@ -16,9 +16,7 @@ source=("v$pkgver::https://github.com/Daenyth/pkgtools/tarball/v$pkgver")
md5sums=('5361111e31741f8d7ff8ca45c7996b6b')

package() {
cd "Daenyth-$pkgname"-*
cd "Daenyth-$pkgname"-*

make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
27 changes: 13 additions & 14 deletions PKGBUILD-git
Expand Up @@ -20,25 +20,24 @@ _gitroot="git://github.com/Daenyth/pkgtools.git"
_gitname="pkgtools"

build() {
msg "Connecting to GIT server...."
msg "Connecting to GIT server...."

if [ -d ${srcdir}/$_gitname ] ; then
cd $srcdir/$_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
if [ -d ${srcdir}/$_gitname ] ; then
cd $srcdir/$_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi

msg "GIT checkout done or server timeout"
msg "Starting make..."
msg "GIT checkout done or server timeout"
msg "Starting make..."

[[ -d $srcdir/$_gitname-build ]] && rm -r ${srcdir}/$_gitname-build
cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
[[ -d $srcdir/$_gitname-build ]] && rm -r ${srcdir}/$_gitname-build
cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
}

package() {
cd "$_gitname-build"
cd "$_gitname-build"

make DESTDIR=${pkgdir} install
make DESTDIR=${pkgdir} install
}
# vim:set ts=2 sw=2 et:

0 comments on commit c82b3dc

Please sign in to comment.