diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -2,7 +2,7 @@ pkgname=wingpanel-indicator-sound pkgver=2.0.5 -pkgrel=1 +pkgrel=2 pkgdesc='Wingpanel Sound Indicator' arch=('i686' 'x86_64') url='https://github.com/elementary/wingpanel-indicator-sound' @@ -11,13 +11,11 @@ groups=('pantheon') depends=('cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libcanberra' 'libgee' 'libnotify' 'libpulse' 'libgranite.so' 'libwingpanel-2.0.so') -makedepends=('cmake' 'intltool' 'vala' 'wingpanel') +makedepends=('cmake' 'gobject-introspection' 'intltool' 'vala' 'wingpanel') source=("wingpanel-indicator-sound-${pkgver}.tar.gz::https://github.com/elementary/wingpanel-indicator-sound/archive/${pkgver}.tar.gz") sha256sums=('680617e07ec4fc6b0c21f028b12a7cd4a2cb6fcc387f67c5ac73bb8545fd0f80') prepare() { - cd wingpanel-indicator-sound-${pkgver} - if [[ -d build ]]; then rm -rf build fi @@ -25,9 +23,9 @@ prepare() { } build() { - cd wingpanel-indicator-sound-${pkgver}/build + cd build - cmake .. \ + cmake ../wingpanel-indicator-sound-${pkgver} \ -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ @@ -36,7 +34,7 @@ build() { } package() { - cd wingpanel-indicator-sound-${pkgver}/build + cd build make DESTDIR="${pkgdir}" install } |