[arch-commits] Commit in gmetadom/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Wed Feb 14 22:37:33 UTC 2018
Date: Wednesday, February 14, 2018 @ 22:37:32
Author: jgc
Revision: 317045
Switch to HTTPS, move patch to prepare function
Modified:
gmetadom/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-14 22:34:41 UTC (rev 317044)
+++ PKGBUILD 2018-02-14 22:37:32 UTC (rev 317045)
@@ -12,14 +12,18 @@
depends=('gdome2')
makedepends=('pkgconfig' 'ocaml')
options=('!makeflags')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'gmetadom-0.2.6-gcc43.patch')
-md5sums=('7bfb5d9c6f20ffa5e790b63d1f8cb481'
- 'ea0271007f8650733029327823353d0d')
+sha256sums=('2f1e286dfceb7877f90c72de7e5e17a87d0e3f8121feff794a6f637bc1a6756a'
+ '71d06b41cafcbca318d48d39c97e9f25873461828c7702541f721fd478dbbacf')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch
+}
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch
export LDFLAGS=${LDFLAGS/,--as-needed}
./configure --prefix=/usr
make
More information about the arch-commits
mailing list