summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2017-09-04 14:00:50 -0600
committerAaron Ball <nullspoon@oper.io>2017-09-04 14:00:50 -0600
commitf54a477209787905db591cbc4d1371f020bae927 (patch)
treeee2a983d4f790b95152777e947ea063beb44778d /mkinitramfs
parent8dff45f59f14aab212cf15b3a5720329d54e6d03 (diff)
downloadports-f54a477209787905db591cbc4d1371f020bae927.tar.gz
ports-f54a477209787905db591cbc4d1371f020bae927.tar.xz
mkinitramfs:Updated to use new release channel
Was executing git clone to acquire the release code, but oper.io now offers a tarball download endpoint (oper.io/pub). Now we download the source tarball via the ports source array.
Diffstat (limited to 'mkinitramfs')
-rw-r--r--mkinitramfs/.md5sum1
-rw-r--r--mkinitramfs/Pkgfile25
2 files changed, 4 insertions, 22 deletions
diff --git a/mkinitramfs/.md5sum b/mkinitramfs/.md5sum
new file mode 100644
index 0000000..61f8a0e
--- /dev/null
+++ b/mkinitramfs/.md5sum
@@ -0,0 +1 @@
+d3fb22fe8439f907661123fcc37707b6 mkinitramfs-v1.1-rc4.tar.xz
diff --git a/mkinitramfs/Pkgfile b/mkinitramfs/Pkgfile
index 020394b..31ca9da 100644
--- a/mkinitramfs/Pkgfile
+++ b/mkinitramfs/Pkgfile
@@ -5,30 +5,11 @@
name=mkinitramfs
version=v1.1-rc4
-release=1
-gitsource=https://oper.io/src/nullspoon/mkinitramfs.git
-
-gitsetup() {
- # Since we're doing this with git, we need to create this directory.
- [[ ! -d ${PKG} ]] && mkdir -p ${PKG}
-
- if [[ -d ${name} ]]; then
- cd ${name}
- git reset --hard
- git pull ${gitsource}
- else
- git clone ${gitsource} ${name}
- cd ${name}
- fi
-
- # Used to check out a tag
- git checkout ${version}
-}
-
-
+release=2
+source=(https://oper.io/pub/nullspoon/${name}/${name}-${version}.tar.xz)
build() {
- gitsetup
+ cd ${name}-${version}
install -D -m 755 mkinitramfs ${PKG}/usr/bin/mkinitramfs
install -D init ${PKG}/usr/share/mkinitramfs/init

Generated by cgit