X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by lists.alpinelinux.org (Postfix) with ESMTP id D84C05C4FAD for ; Thu, 19 Apr 2018 16:40:39 +0000 (GMT) Received: by mail-wr0-f179.google.com with SMTP id u11-v6so15744656wri.12 for ; Thu, 19 Apr 2018 09:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MeFGyMJB9jHQW/2LrIMZs+xN6Y9Snnj3Tl1k8p4sDf4=; b=DaDv70FnUdfaB49+ZLL6NDk9WeS0YEoXg/HbguxNk4kkkzw/Q7iCR1ekSeooY5hRP+ M21YLFyL3s1C2ik6nyj24msBSjL5BcetXUmuKTLS5qCrdGPgLYG2v31YQOA/YePGWh5K k+kXxupNX8XJQe9LTAHu/sMXPXx6pmNAYBK43CJH/VBaWbtZUwz1tGEAYnX9rcz3LiXp i93gMWeWgp1W45Gs8LtE7O6r7EqJEKo3qCUMB/aJIQpqkbaqrJILikdBNAjK6f4ZdXTm VQN4yZxc1gLHNT7A6scTZVI9SSvF9rYIY1T9kutdkyyX6dDBLsLzDhDZ+VJsknIVZ5fA IOmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MeFGyMJB9jHQW/2LrIMZs+xN6Y9Snnj3Tl1k8p4sDf4=; b=hODrAKocmSkxuJYLrX3avcZl2eAgfmzeDBQFxQRS+PSWv8Zb5+kG0gCCXC7Pk3oqJZ u7ZoEGe1uKeitH1bSnROIhnITaUJ0rAITU2BScLcepKpwou5NiYoEQrq2rJ00P+uqnTS wqeGsWKCRqO2e1UVUMWwo2UtzyhGaESNdnZT/IWf1yOBGAzL+zSUHTYibxqQjOdvCtgG dDBagVI1Oz1OXq6OKBIRihIMFuAhDyYx9cQsaJ8MFRFLUudppM3u3SaE6t/5SXvME7nr DOKQLi23e5K98YMmwa9OXSlp7lRMeitzxsLlYihc5A0fxhBBPTFo2vI3tzndCIQEjgwd LTVA== X-Gm-Message-State: ALQs6tCNRF7KiTOWDeowVghH5JJcb5hnr0XJcojb06dJ2QCtOrXAIOd+ Ue5JoP+MNvwaCAyam3aEowg= X-Google-Smtp-Source: AIpwx4+egqCUubIUo4tTq6sXeMeoPLhoXat97dV66Cvuzl2QoYBoZ9X8g07O1Ppcm1fqdgB4yJp29g== X-Received: by 10.28.52.16 with SMTP id b16mr4805040wma.147.1524156039109; Thu, 19 Apr 2018 09:40:39 -0700 (PDT) Received: from alpine.Home ([31.223.30.32]) by smtp.gmail.com with ESMTPSA id o101-v6sm5682442wrb.44.2018.04.19.09.40.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Apr 2018 09:40:37 -0700 (PDT) Date: Thu, 19 Apr 2018 19:40:36 +0300 From: Taner Tas To: Natanael Copa Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH v3] testing/mame: new aport Message-Id: <20180419194036.1483851d46d63f41d09d86d0@gmail.com> In-Reply-To: <20180419154718.183542c7@ncopa-desktop.copa.dup.pw> References: <20180302172909.24694-1-taner76@gmail.com> <20180416182936.20794-1-taner76@gmail.com> <20180419154718.183542c7@ncopa-desktop.copa.dup.pw> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 19 Apr 2018 15:47:18 +0200 Natanael Copa wrote: > > +prepare() { > > + cd "$srcdir" > > + if [ ! -d ${pkgname}-${pkgver} ]; then > > + 7z x -o"${pkgname}-${pkgver}" ${pkgname}.zip > > + fi > > Is it necessary to extract it with 7z? I though abuild will extract .zip for us. Distribution file contains another zip file inside. Don't know why. Actual zip file requires manual intervention and can't be extracted via "unzip". > > + export OVERRIDE_CC=clang > > + export OVERRIDE_CXX=clang++ > > Does it require clang? Can it not be built with gcc? Package actually builds with gcc. Clang compiles faster. Also benchmarked both clang and gcc binaries. Clang binary was smaller and performance is 10% better. > > I think the depends need to be in global scope. > fixed. > > + mkdir -p "$subpkgdir"/usr/share/"$pakgname" > > pakgname looks like a typo. yes. fixed. > > + mkdir -p "$subpkgdir"/usr/share/"$pakgname" > > pakgname looks like a typo yes.fixed. > > +doc() { > > Normally we install the files in $pkgdir from package() and let the > default doc function move and compress the manpages to the -doc > subpackage. > I was having some issues with -doc package and decided to use this approach. Now reverted to normal method. I'm rebuilding package now. After successfull build I'll send v4. Thanks for review. -- Taner Tas --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---