[arch-commits] Commit in ecm-tools/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Jan 16 13:41:13 UTC 2015


    Date: Friday, January 16, 2015 @ 14:41:13
  Author: alucryd
Revision: 125987

upgpkg: ecm-tools 1.03-1

Modified:
  ecm-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-16 13:36:24 UTC (rev 125986)
+++ PKGBUILD	2015-01-16 13:41:13 UTC (rev 125987)
@@ -12,15 +12,20 @@
 url='https://github.com/alucryd/ecm-tools'
 license=('GPL3')
 depends=('glibc')
+makedepends=('git')
 replaces=('ecm')
-source=("git+https://github.com/alucryd/ecm-tools.git")
+source=('git+https://github.com/alucryd/ecm-tools.git#commit=41bf9d2')
 sha256sums=('SKIP')
 
 build() {
+  cd ecm-tools
+
   gcc $CFLAGS -O9 -Wall -Wextra -Werror -fomit-frame-pointer "ecm.c" -s -o "bin2ecm"
 }
 
 package() {
+  cd ecm-tools
+
   install -dm 755 "${pkgdir}"/usr/bin
   install -m 755 bin2ecm "${pkgdir}"/usr/bin/
   ln -s bin2ecm "${pkgdir}"/usr/bin/ecm2bin



More information about the arch-commits mailing list