summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-14 02:32:09 +0800
committerChocobo12017-08-14 02:36:38 +0800
commit57adeb94cad3883c9822a657d439cd74e513be35 (patch)
treef30b7800b18c50fc7d6d5759feef10f35c12ee4b
downloadaur-gettext-git.tar.gz
newpkg: gettext-git 0.19.8.1.r59.g488bf1c3b-1
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD42
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dc00da20ace
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = gettext-git
+ pkgdesc = GNU internationalization library
+ pkgver = 0.19.8.1.r59.g488bf1c3b
+ pkgrel = 1
+ url = https://www.gnu.org/software/gettext/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = grep
+ makedepends = wget
+ depends = glibc
+ depends = glib2
+ depends = libunistring
+ depends = ncurses
+ provides = gettext
+ conflicts = gettext
+ source = git+https://git.savannah.gnu.org/git/gettext.git
+ sha256sums = SKIP
+
+pkgname = gettext-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96fbcc7d675
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=gettext-git
+pkgver=0.19.8.1.r59.g488bf1c3b
+pkgrel=1
+pkgdesc="GNU internationalization library"
+arch=('i686' 'x86_64')
+url="https://www.gnu.org/software/gettext/"
+license=('GPL3')
+depends=('glibc' 'glib2' 'libunistring' 'ncurses')
+makedepends=('git' 'grep' 'wget')
+provides=('gettext')
+conflicts=('gettext')
+source=("git+https://git.savannah.gnu.org/git/gettext.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "gettext"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "gettext"
+
+ ./autogen.sh
+ ./configure --prefix="/usr"
+ make
+}
+
+check() {
+ cd "gettext"
+
+ make check
+}
+
+package() {
+ cd "gettext"
+
+ make DESTDIR="$pkgdir" install
+}