[arch-commits] Commit in (6 files)
Alexander Rødseth
arodseth at archlinux.org
Fri Mar 11 14:10:15 UTC 2016
Date: Friday, March 11, 2016 @ 15:10:14
Author: arodseth
Revision: 166125
Move from AUR.
"usleep" is available as a command in shells like BusyBox.
Some bash scripts needs it.
Added:
usleep/
usleep/repos/
usleep/repos/community-i686/
usleep/repos/community-x86_64/
usleep/trunk/
usleep/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: usleep/trunk/PKGBUILD
===================================================================
--- usleep/trunk/PKGBUILD (rev 0)
+++ usleep/trunk/PKGBUILD 2016-03-11 14:10:14 UTC (rev 166125)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Corentin Peuvrel <corentin.peuvrel at gmail.com>
+
+pkgname=usleep
+pkgver=1.0
+pkgrel=3
+pkgdesc='Sleep for (at least) the given number of microseconds'
+arch=('x86_64' 'i686')
+url='https://github.com/cpeuvrel/usleep-aur'
+license=('MIT')
+depends=('glibc')
+makedepends=('git')
+source=("usleep::git://github.com/cpeuvrel/usleep-aur#commit=4f880a7")
+md5sums=('SKIP')
+
+build() {
+ make -C "$pkgname"
+}
+
+package() {
+ make -C "$pkgname" PREFIX="$pkgdir/usr/bin" install
+ install -Dm644 "$pkgname/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list