Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/mksrcinfo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mksrcinfo')
-rwxr-xr-xbin/mksrcinfo25
1 files changed, 0 insertions, 25 deletions
diff --git a/bin/mksrcinfo b/bin/mksrcinfo
deleted file mode 100755
index 795c520..0000000
--- a/bin/mksrcinfo
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# generate .SRCINFO from PKGBUILD
-# bleh - this should really be handled by makepkg!
-
-(
- CARCH='i686'
-
- . ./PKGBUILD
-
- if [ -z "${pkgbase}" ]; then
- printf 'pkgbase = %s\n' "${pkgname}"
- else
- printf 'pkgbase = %s\n' "${pkgbase}"
- fi
- printf '\tarch = %s\n' "${arch[@]}"
- printf '\tgroups = %s\n' "${groups[@]}"
- for print in 'makedepends' 'checkdepends' 'depends' 'provides'; do
- eval printf "'\t${print} = %s\n'" '"${'"${print}"'[@]}"'
- for a in 'i686'; do
- eval printf "'\t${print} = %s\n'" '"${'"${print}_${a}"'[@]}"'
- done
- done
- printf 'pkgname = %s\n' "${pkgname[@]}"
-) > .SRCINFO