Package Details: libhdate 1.6.02-5

Git Clone URL: https://aur.archlinux.org/libhdate.git (read-only)
Package Base: libhdate
Description: LibHdate is a small C,C++ library for Hebrew calendar and dates, holidays, and reading sequence
Upstream URL: http://libhdate.sourceforge.net/
Licenses: GPL
Provides: libhdate
Submitter: ik_5
Maintainer: ik_5
Last Packager: ik_5
Votes: 3
Popularity: 0.003655
First Submitted: 2015-08-22 13:30
Last Updated: 2019-07-06 14:08

Latest Comments

ik_5 commented on 2019-07-06 14:11

Thank you tinywrkb, I have changed the code.

tinywrkb commented on 2019-06-25 11:00

@ik_5

Please don't use $startdir, this breaks makepkg's BUILDDIR, is highly advised against, and it's not needed as build() starts at $srcdir. see makepkg.conf(5) and pkgbuild(5)

diff --git a/PKGBUILD b/PKGBUILD
index 232e564..a201ecf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=(http://downloads.sourceforge.net/project/$libname/$libname/$libname-$pkg
 md5sums=('0376b7ad2df71a093343d04f51b9b510')

 build() {
-  cd $startdir/src/$libname-$pkgver
+  cd $libname-$pkgver
   # We install only the library not the binding features
   ./configure --prefix=/usr --disable-fpc --disable-gpc --disable-python --disable-ruby --disable-php --disable-perl
   make

pashosh commented on 2016-01-27 20:37

יישר כח, איש