X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by lists.alpinelinux.org (Postfix) with ESMTP id 7A5BC5C6335 for ; Tue, 4 Sep 2018 13:14:31 +0000 (GMT) Received: by mail-ed1-f54.google.com with SMTP id f38-v6so3202210edd.8 for ; Tue, 04 Sep 2018 06:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=YozMTyxvf3pFK6AJhlFcyrnfNBCLszfZ//vqDHOoabA=; b=U03xs2WPxVFDlSevmLt2UMt4uQupBBg+sFN956AWsCBEbEbj1KMcv50n+gloS8MgxR C0YVGO82t/BOH9ffMk9ARPBohWy4pwueWZIGST1L97zwjvLCW7NDce6XVGL8OqM4BRcs j6o8A8B85Ns0xIFtWO+hMfI1hQpqlm0TGmpT61ItHq632BL8X9Mv4sxQtsk5Z6ZrxHxk kzfwt3HDPte8rM6eRblgAkknQgnrg/kgxelYPFFxZES8PpilmCtOTdQtMRZn4m/v02a/ gwHS+6YKyyxlq8znyssE6ovwDJAmECkPwkH2NTnQp2St8g6X9Tl9bcF9/RxOh/0VdJU9 z42Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=YozMTyxvf3pFK6AJhlFcyrnfNBCLszfZ//vqDHOoabA=; b=a8wZs2lLdBHhtrlT8SUQdV2qB3DIrrBvAy71cBz+DSKInf+mDw7zEjCtimqSj9pCxS hQnaxk6bjcYUyzCgy2qxO0EkBlA6e8scun/NTg8TOahOc60FbURX/hLndOXVP2BptPbx 6lShzKQNUlNS369iXpE08/CQi2n/wH/atPgjAxmMxbMKSF8mzlw3Jxumu8LtNn2wZgmg 1VJPMWY/7RZo/vxB664vg8cKj8xmGl6vO23eUjLFInf9CdsNnF3ZeWHumGZOSHPhPiKl cZX45FRXD5a1oiwnneSvBaGW77zH2IbMMN8fBCQN8nPVyAwdiQG7pb9scINr1quRHPfS fuMw== X-Gm-Message-State: APzg51Avvv2px0tIY0WFUxTQVg6GPpNYR7hQbMpwTl2lpZiIpKMk0yzq qZ20ZAxE+/ZLNYGmwoLIUu7MsOCLADPAjw== X-Google-Smtp-Source: ANB0Vdbmz5C8jz1p1RQOJAnQtKdciy/XyFYSZ19kGAdNdK4fQGhmkj+oRNIDTw1t3LgBX0hicRPnAg== X-Received: by 2002:a50:f10d:: with SMTP id w13-v6mr38327293edl.0.1536066870587; Tue, 04 Sep 2018 06:14:30 -0700 (PDT) Received: from alpine.nodomain (host-109-235-110-67-dynamic.telecomitalia.sm. [109.235.110.67]) by smtp.gmail.com with ESMTPSA id b9-v6sm11301440edk.62.2018.09.04.06.14.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 06:14:30 -0700 (PDT) From: Alex Raschi To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH v2] testing/numlockx: new aport Date: Tue, 4 Sep 2018 15:14:29 +0200 Message-Id: <20180904131429.1564-1-raschi.alex@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180808090017.5841-1-raschi.alex@gmail.com> References: <20180808090017.5841-1-raschi.alex@gmail.com> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://tracker.debian.org/pkg/numlockx Enable NumLock in X11 sessions --- Changes v1 -> v2: - align to scrot APKBUILD testing/numlockx/APKBUILD | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/numlockx/APKBUILD diff --git a/testing/numlockx/APKBUILD b/testing/numlockx/APKBUILD new file mode 100644 index 0000000000..773ed2a743 --- /dev/null +++ b/testing/numlockx/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Alex Raschi +pkgname=numlockx +pkgver=1.2.7.1 +_opkgver=${pkgver%.*.*} # original version +_dpkgver=${pkgver#*.*.} # debian sub version +pkgrel=0 +pkgdesc="Enable NumLock in X11 sessions" +url="https://tracker.debian.org/pkg/numlockx" +arch="all" +license="MIT" +depends="" +makedepends="libx11-dev libxtst-dev" +options="!check" # no test suite +source="http://ftp.debian.org/debian/pool/main/n/$pkgname/${pkgname}_$_opkgver.orig.tar.gz + http://ftp.debian.org/debian/pool/main/n/$pkgname/${pkgname}_$_opkgver-$_dpkgver.debian.tar.xz" +builddir="$srcdir/$pkgname-$_opkgver" + +prepare() { + default_prepare + local patch= + local patches="$srcdir"/debian/patches + + for patch in $(cat "$patches"/series); do + patch -p1 -d "$builddir" -i "$patches"/"$patch" + done +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="efaaa67e8b2723cb1e8461dde664f1f8e9b21f34edfe2e1135a6b756fa2843aed1a386f2f9d70bd62ddae9aedfeeff856a18da8b542f2cff440f93b38e5a853e numlockx_1.2.orig.tar.gz +e42a233881f0687d073d2a2c204ecb22f1216d3539888158623dc655bb4d85c17316d8f1ba51a86c50072e93e6ecdf33ce8c568b98b93344099ae78b32da26c7 numlockx_1.2-7.1.debian.tar.xz" -- 2.18.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---