[alpine-devel] New aport - hhpc

7heo
Details
Message ID
<trinity-cf024ed2-a143-4c78-893e-f4cbfa95e28d-1416492825914@3capp-mailcom-lxa01>
Sender timestamp
1416492826
DKIM signature
missing
Download raw message
I've created the APKBUILD file for hhpc, using the release from my fork instead of the official repository, since it it the best way to minimize edits when a release will be done on the official repo.
 
Here it is:
 

# Contributor:
# Maintainer:
pkgname=hhpc
pkgver=0.3.2
pkgrel=0
pkgdesc="An utility to automatically hide the mouse pointer after a specified delay of inactivity"
url="https://github.com/aktau/hhpc"
arch="all"
license="3-clause BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="hhpc-$pkgver.tar.gz::https://github.com/7heo/hhpc/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/hhpc-$pkgver
prepare() {
        local i
        cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}
build() {
        cd "$_builddir"
        make || return 1
}
package() {
        cd "$_builddir"
        make DESTDIR="$pkgdir" install || return 1
        rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="2d579207ce5d6b3fbbfa4b81109ffaa3  hhpc-0.3.2.tar.gz"
sha256sums="7701e20143133317d0746b6f723bdd9bff92fb7c4bd9af745e632444dbbc3afa  hhpc-0.3.2.tar.gz"
sha512sums="c07a054c1826cff530f27c047e52bc982bfe057fa5c92dfd3af42750b4aa8369c614529b62e701c5f9199749659f47e3c56bcbc68b14a0b86b35c9a031d80417  hhpc-0.3.2.tar.gz"


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---