diff options
author | meskarune | 2016-04-16 13:50:29 -0400 |
---|---|---|
committer | meskarune | 2016-04-16 13:50:29 -0400 |
commit | 3875009ae4a58257dd1f7208d8dd657b7c2f9346 (patch) | |
tree | e4afb8a49fb2ae78c409fc7de7f1a3cd74d73d46 /PKGBUILD | |
parent | 0cb381cc1e851e84b19f0a77f6ac9d3d0e485391 (diff) | |
download | aur-3875009ae4a58257dd1f7208d8dd657b7c2f9346.tar.gz |
fixed pkgbuild so it works with dirs that have spaces
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -11,15 +11,16 @@ license=('MIT') depends=('coreutils' 'awk' 'bash' 'util-linux' 'imagemagick' 'i3lock' 'scrot') makedepends=('git') provides=("i3lock-fancy") -source=("git+https://github.com/meskarune/$_gitname.git") -md5sums=('SKIP') +source=("git+https://github.com/meskarune/$_gitname.git" "package.patch") +md5sums=('SKIP' + 'b7493e6bb3ce1129e0f23f18c4e9480f') pkgver() { cd "$_gitname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - patch -N "${srcdir}"/"${_gitname}"/lock ../package.patch + patch -N "${srcdir}"/"${_gitname}"/lock "${srcdir}"/package.patch } package() { cd "${srcdir}"/"$_gitname" |