diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-07 00:59:46 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-07 00:59:46 -0200 |
commit | bb7b495e86a46b07898bd7957c208f4a6e3e1b27 (patch) | |
tree | 7c5cad49d8bc10ef8e35d474639f11aea594ebb3 /pcr | |
parent | bdbc9dfba7a5b080e5780424b99ea8b37ef35710 (diff) | |
parent | 317ab819612426664e8873043e084e022a77fbd6 (diff) | |
download | abslibre-bb7b495e86a46b07898bd7957c208f4a6e3e1b27.tar.gz abslibre-bb7b495e86a46b07898bd7957c208f4a6e3e1b27.tar.bz2 abslibre-bb7b495e86a46b07898bd7957c208f4a6e3e1b27.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/9mount/PKGBUILD | 36 | ||||
-rw-r--r-- | pcr/9mount/fix-checks.patch | 24 | ||||
-rw-r--r-- | pcr/cinclude2dot/.gitignore | 2 | ||||
-rw-r--r-- | pcr/cinclude2dot/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/gimp-pcr/PKGBUILD | 7 | ||||
-rw-r--r-- | pcr/stow/PKGBUILD | 24 |
6 files changed, 120 insertions, 0 deletions
diff --git a/pcr/9mount/PKGBUILD b/pcr/9mount/PKGBUILD new file mode 100644 index 000000000..3de06c084 --- /dev/null +++ b/pcr/9mount/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (AUR): Fazlul Shahriar <fshahriar@gmail.com> + +pkgname=9mount +pkgver=1.3 +pkgdesc="A set of SUID tools for mounting 9p filesystems via v9fs." +url="http://sqweek.net/code/9mount/" +license=('custom:ISC') +source=("http://sqweek.net/9p/$pkgname-$pkgver.tar.gz" fix-checks.patch) + +pkgrel=3 +arch=('i686' 'x86_64') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -i "$srcdir/fix-checks.patch" + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + PATH=.:$PATH sh ./test.sh +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir/usr" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9umount.1" + ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9bind.1" +} + +md5sums=('711a0a6f4d076c8275596171b0a315d0' + '7961acda05c55f91f8cd6fb0d51b5c7d') +sha256sums=('820d80b9b478d05ecb022ad658477b37cfc2414a8669c3af17d192a522064c17' + '69cd1be08cc13cdecf2851dd6f78efd734afa8b0b099484cd777edb0b1d36f79') diff --git a/pcr/9mount/fix-checks.patch b/pcr/9mount/fix-checks.patch new file mode 100644 index 000000000..9af711ba5 --- /dev/null +++ b/pcr/9mount/fix-checks.patch @@ -0,0 +1,24 @@ +--- test.sh.orig 2012-10-15 11:15:07.000000000 -0400 ++++ test.sh 2012-10-15 11:15:11.000000000 -0400 +@@ -7,7 +7,7 @@ + shift; shift + actual=$(9mount -n "$@" 2>&1) + aopts=$(echo $actual |sed 's/.*-o \([^ ]*\) .*/\1/' |tr , '\n' |sort |tr '\n' , |sed 's/,$//') +- actual=$(echo $actual |sed 's/-o [^ ]*/-o '"$aopts"'/') ++ actual=$(echo $actual |sed -e 's/-o [^ ]*/-o '"$aopts"'/' -e 's/ ::1 / 127.0.0.1 /') + if [ "$expected" != "$actual" ]; then + echo ' '9mount "$@" + echo $expected' #expected' +@@ -48,6 +48,7 @@ + output=$(9mount -n "$@" 2>&1) && { + echo ' '9mount "$@" + echo $output' #should have failed!' ++ exit 1 + } + } + +@@ -59,3 +60,4 @@ + shouldfail unix!/tmp/9mount!qux $mtpt + shouldfail virtio!/dev/chan!bar $mtpt + shouldfail tcp!localhost!564!foo $mtpt ++exit 0 diff --git a/pcr/cinclude2dot/.gitignore b/pcr/cinclude2dot/.gitignore new file mode 100644 index 000000000..f326e85cb --- /dev/null +++ b/pcr/cinclude2dot/.gitignore @@ -0,0 +1,2 @@ +cinclude2dot +cinclude2dot.1 diff --git a/pcr/cinclude2dot/PKGBUILD b/pcr/cinclude2dot/PKGBUILD new file mode 100644 index 000000000..bab8804d1 --- /dev/null +++ b/pcr/cinclude2dot/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=cinclude2dot +pkgver=1.1 +pkgrel=2 +pkgdesc="A Perl script which analyses C/C++ code and produces a #include dependency graph." +arch=('any') +url="http://flourish.org/cinclude2dot/" +license=('GPL') +depends=('perl') +source=('http://flourish.org/cinclude2dot/cinclude2dot' + 'http://flourish.org/cinclude2dot/cinclude2dot.1') + +build() { + gzip -c cinclude2dot.1 > cinclude2dot.1.gz +} + +package() { + cd "$srcdir" + install -d "$pkgdir/usr/bin" + install -m755 cinclude2dot "$pkgdir/usr/bin" + install -d "$pkgdir/usr/share/man/man1" + install -m644 cinclude2dot.1.gz "$pkgdir/usr/share/man/man1" +} + +md5sums=('372ca2cba1170ae4e040f7f84b7b98b5' + 'bfdc230a26db0c66b238e6380e6badbe') diff --git a/pcr/gimp-pcr/PKGBUILD b/pcr/gimp-pcr/PKGBUILD index 28f6ebab8..75b54f27a 100644 --- a/pcr/gimp-pcr/PKGBUILD +++ b/pcr/gimp-pcr/PKGBUILD @@ -28,6 +28,13 @@ md5sums=('84c964aab7044489af69f7319bb59b47' '2d823a7e7cd7f99b681943e42bfb7d40' 'e894f4b2ffa92c71448fdd350e9b78c6') +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + # fixing freetype header path file + sed -i "s|freetype/tttables[.]h|freetype2/tttables.h|" app/text/${_pkgname}font.c +} + build() { cd "${srcdir}/${_pkgname}-${pkgver}" #patch -p1 < ../uri-backend-libcurl.patch diff --git a/pcr/stow/PKGBUILD b/pcr/stow/PKGBUILD new file mode 100644 index 000000000..a3024b7e9 --- /dev/null +++ b/pcr/stow/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=stow +pkgver=2.2.0 +pkgrel=1 +pkgdesc="A program for managing the installation of software packages, keeping them separate while making them appear to be installed in the same place." +arch=(any) +url="https://www.gnu.org/software/$pkgname/" +license=('GPL2') +depends=('perl>=5.6.1') +source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +md5sums=('902564d502975f353d3b0514a21863b1') |