summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortinywrkb2021-02-24 13:05:33 +0200
committertinywrkb2021-02-24 13:05:33 +0200
commitf99c32269c735acb6bd94fb6c68dd68065f5d95d (patch)
treecf7aac632c5715ae659476b2fa1e2af0359f030b
downloadaur-gettext-hostname.tar.gz
initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD17
2 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d50ae78dd441
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = gettext-hostname
+ pkgdesc = use gettext's hostname and avoid inetutils
+ pkgver = 2021.02.24.1
+ pkgrel = 1
+ url = https://aur.archlinux.org/packages/gettext-hostname/
+ arch = any
+ license = GPL
+ depends = gettext
+ provides = inetutils
+ conflicts = inetutils
+
+pkgname = gettext-hostname
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..359cc60e953f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: tinywrkb <tinywrkb@gmail.com>
+
+pkgname=gettext-hostname
+pkgver=2021.02.24.1
+pkgrel=1
+pkgdesc="use gettext's hostname and avoid inetutils"
+url='https://aur.archlinux.org/packages/gettext-hostname/'
+license=('GPL')
+arch=('any')
+depends=('gettext')
+conflicts=('inetutils')
+provides=('inetutils')
+
+package() {
+ install -dm755 ${pkgdir}/usr/bin/
+ ln -s ../lib/gettext/hostname ${pkgdir}/usr/bin/hostname
+}