summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 00000000000..d50ae78dd44
--- /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 00000000000..359cc60e953
--- /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
+}