diff options
author | James An | 2015-01-24 07:55:38 -0500 |
---|---|---|
committer | James An | 2015-01-24 07:55:38 -0500 |
commit | dbb08103692ef1a09339a836884f937c985d1d4f (patch) | |
tree | 49bcb3f20a6d065893ffda55f0417243da4ba164 | |
download | aur-dbb08103692ef1a09339a836884f937c985d1d4f.tar.gz |
Added stdoutisatty from the AUR.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..643ccd469e42 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = stdoutisatty + pkgdesc = A tiny utility to trick the program to believe that its stdout is an interactive tty + pkgver = 8.04881d0 + pkgrel = 1 + url = https://github.com/lilydjwg/stdoutisatty + arch = i686 + arch = x86_64 + license = BSD + makedepends = cmake + depends = glibc + source = git+https://github.com/lilydjwg/stdoutisatty.git + md5sums = SKIP + +pkgname = stdoutisatty + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5af707303d05 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +## Contributor: Star Brilliant +pkgname=stdoutisatty +pkgver=8.04881d0 +pkgrel=1 +pkgdesc='A tiny utility to trick the program to believe that its stdout is an interactive tty' +arch=('i686' 'x86_64') +url="https://github.com/lilydjwg/${pkgname}" +license=('BSD') +depends=('glibc') +makedepends=('cmake') +source=('git+https://github.com/lilydjwg/stdoutisatty.git') +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + mkdir "${srcdir}/${pkgname}/build" + cd "${srcdir}/${pkgname}/build" + cmake -D CMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "${srcdir}/${pkgname}/build" + make install DESTDIR="${pkgdir}" + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}" + install -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 ../README.rst "${pkgdir}/usr/share/doc/${pkgname}" +} |