[arch-commits] Commit in usleep/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:41:24 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:41:23
Author: felixonmars
Revision: 658190
archrelease: copy trunk to community-staging-x86_64
Added:
usleep/repos/community-staging-x86_64/
usleep/repos/community-staging-x86_64/PKGBUILD
(from rev 658189, usleep/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: usleep/repos/community-staging-x86_64/PKGBUILD (from rev 658189, usleep/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 12:41:23 UTC (rev 658190)
@@ -0,0 +1,27 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Corentin Peuvrel <corentin.peuvrel at gmail.com>
+
+pkgname=usleep
+pkgver=1.0
+pkgrel=5
+pkgdesc='Sleep for (at least) the given number of microseconds'
+arch=('x86_64')
+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"
+}
+
+# getver: -u 2 raw.githubusercontent.com/cpeuvrel/usleep-aur/master/.SRCINFO
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list